diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-04-28 18:16:42 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-04-28 18:16:42 +0200 |
commit | f23f784f1811a5e7ae82faaf8868e389e9608f5d (patch) | |
tree | 77b919683a8656a361d7d62c8745233bc8b2d310 /spec/lib/activitypub | |
parent | 6a9d1549484a6fb02d7d01e884577a7185302046 (diff) | |
parent | 8284110c55679b7ce7b3922cb0559620b03ca88c (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/lib/activitypub')
-rw-r--r-- | spec/lib/activitypub/activity/move_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/activitypub/activity/move_spec.rb b/spec/lib/activitypub/activity/move_spec.rb index 2d1d276c5..c468fdeff 100644 --- a/spec/lib/activitypub/activity/move_spec.rb +++ b/spec/lib/activitypub/activity/move_spec.rb @@ -84,9 +84,9 @@ RSpec.describe ActivityPub::Activity::Move do context 'when a Move has been recently processed' do around do |example| - Redis.current.set("move_in_progress:#{old_account.id}", true, nx: true, ex: 7.days.seconds) + redis.set("move_in_progress:#{old_account.id}", true, nx: true, ex: 7.days.seconds) example.run - Redis.current.del("move_in_progress:#{old_account.id}") + redis.del("move_in_progress:#{old_account.id}") end it 'does not set moved account on old account' do |