about summary refs log tree commit diff
path: root/spec/models
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-28 18:16:42 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-04-28 18:16:42 +0200
commitf23f784f1811a5e7ae82faaf8868e389e9608f5d (patch)
tree77b919683a8656a361d7d62c8745233bc8b2d310 /spec/models
parent6a9d1549484a6fb02d7d01e884577a7185302046 (diff)
parent8284110c55679b7ce7b3922cb0559620b03ca88c (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/home_feed_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/home_feed_spec.rb b/spec/models/home_feed_spec.rb
index ee7a83960..80f6edbff 100644
--- a/spec/models/home_feed_spec.rb
+++ b/spec/models/home_feed_spec.rb
@@ -15,7 +15,7 @@ RSpec.describe HomeFeed, type: :model do
 
     context 'when feed is generated' do
       before do
-        Redis.current.zadd(
+        redis.zadd(
           FeedManager.instance.key(:home, account.id),
           [[4, 4], [3, 3], [2, 2], [1, 1]]
         )
@@ -31,7 +31,7 @@ RSpec.describe HomeFeed, type: :model do
 
     context 'when feed is being generated' do
       before do
-        Redis.current.set("account:#{account.id}:regeneration", true)
+        redis.set("account:#{account.id}:regeneration", true)
       end
 
       it 'returns nothing' do