Commit b69890a3 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Use flushdb with the connection object in redis-namespace API

parent c0b1ae19
...@@ -30,6 +30,8 @@ RSpec.configure do |config| ...@@ -30,6 +30,8 @@ RSpec.configure do |config|
end end
config.after(:each, :sidekiq, :redis) do config.after(:each, :sidekiq, :redis) do
Sidekiq.redis { |redis| redis.flushdb } Sidekiq.redis do |connection|
connection.redis.flushdb
end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment