Clear Sidekiq jobs between tests (#5324)

This commit is contained in:
rhymes 2020-01-01 19:39:18 +01:00 committed by Molly Struve
parent 545ffc9b13
commit ee8fd7cbc2

View file

@ -78,6 +78,8 @@ RSpec.configure do |config|
config.before do
ActiveRecord::Base.observers.disable :all # <-- Turn 'em all off!
Sidekiq::Worker.clear_all # worker jobs shouldn't linger around between tests
end
config.after do