gearheads
/
mastodon
Archived
2
0
Fork 0

Disable sidekiq logging in test mode (#2962)

gh/stable
Matt Jankowski 2017-05-10 10:16:42 -04:00 committed by Eugen Rochko
parent d142544159
commit fd66f7cdc0
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"