Cleans up sidekiq to avoid tests being run between tests

This commit is contained in:
Brusk Awat 2023-04-05 23:51:44 +03:00
parent 7bf316e309
commit fd69f23345
Signed by: broosk1993
GPG Key ID: 5D20F7E02649F74E

View File

@ -12,4 +12,8 @@ RSpec.configure do |config|
config.expect_with :rspec do |c| config.expect_with :rspec do |c|
c.syntax = :expect c.syntax = :expect
end end
config.before(:each) do
Sidekiq::Worker.clear_all
end
end end