mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 05:39:32 +08:00
DEV: s/\$redis/Discourse\.redis (#8431)
This commit also adds a rubocop rule to prevent global variables.
This commit is contained in:
@ -979,7 +979,7 @@ describe User do
|
||||
end
|
||||
|
||||
after do
|
||||
$redis.flushall
|
||||
Discourse.redis.flushall
|
||||
end
|
||||
|
||||
it "updates last_seen_at" do
|
||||
|
Reference in New Issue
Block a user