Disable sidekiq logging in test mode (#2962)

lolsob-rspec
Matt Jankowski 2017-05-10 10:16:42 -04:00 committed by Eugen Rochko
parent cd3630e3d1
commit 6658a20e98
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
ActiveRecord::Migration.maintain_test_schema! ActiveRecord::Migration.maintain_test_schema!
WebMock.disable_net_connect! WebMock.disable_net_connect!
Sidekiq::Testing.inline! Sidekiq::Testing.inline!
Sidekiq::Logging.logger = nil
RSpec.configure do |config| RSpec.configure do |config|
config.fixture_path = "#{::Rails.root}/spec/fixtures" config.fixture_path = "#{::Rails.root}/spec/fixtures"