diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-09-04 20:22:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 20:22:26 +0200 |
commit | 68d3b160de4305884c27410c8104fe3389401620 (patch) | |
tree | 3c59f16d7da0cee5b8c277179a2eda4ce7eef94a /spec/workers | |
parent | 272aa4a10940db182c47e7523a34da951fd89f02 (diff) |
Fix various warnings in rspec (#14729)
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/scheduler/feed_cleanup_scheduler_spec.rb | 4 |
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) |