Use flushdb with the connection object in redis-namespace API

This commit is contained in:
Gabriel Mazetto 2019-06-25 16:56:30 +02:00
parent c0b1ae19c3
commit b69890a3fa

View file

@ -30,6 +30,8 @@ RSpec.configure do |config|
end
config.after(:each, :sidekiq, :redis) do
Sidekiq.redis { |redis| redis.flushdb }
Sidekiq.redis do |connection|
connection.redis.flushdb
end
end
end