about summary refs log tree commit diff
path: root/spec/workers/scheduler/feed_cleanup_scheduler_spec.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-09-14 13:49:06 -0500
committerStarfall <us@starfall.systems>2020-09-14 13:49:06 -0500
commitbc32e736fbd7c6afd59e619c885fa80ab637324a (patch)
treeafc04eaa04aeb45b56c378bdc474428d6fdcc813 /spec/workers/scheduler/feed_cleanup_scheduler_spec.rb
parentfd0b806603dbd632d259d06af789c7195c7264dc (diff)
parentafa753a890197b188ddf7ba6a8493d4fe361d956 (diff)
Merge branch 'glitch' into main
Diffstat (limited to 'spec/workers/scheduler/feed_cleanup_scheduler_spec.rb')
-rw-r--r--spec/workers/scheduler/feed_cleanup_scheduler_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/scheduler/feed_cleanup_scheduler_spec.rb b/spec/workers/scheduler/feed_cleanup_scheduler_spec.rb
index 7fae680ba..914eed829 100644
--- a/spec/workers/scheduler/feed_cleanup_scheduler_spec.rb
+++ b/spec/workers/scheduler/feed_cleanup_scheduler_spec.rb
@@ -16,8 +16,8 @@ describe Scheduler::FeedCleanupScheduler do
 
     expect(Redis.current.zcard(feed_key_for(inactive_user))).to eq 0
     expect(Redis.current.zcard(feed_key_for(active_user))).to eq 1
-    expect(Redis.current.exists(feed_key_for(inactive_user, 'reblogs'))).to be false
-    expect(Redis.current.exists(feed_key_for(inactive_user, 'reblogs:2'))).to be false
+    expect(Redis.current.exists?(feed_key_for(inactive_user, 'reblogs'))).to be false
+    expect(Redis.current.exists?(feed_key_for(inactive_user, 'reblogs:2'))).to be false
   end
 
   def feed_key_for(user, subtype = nil)