]> cat aescling's git repositories - mastodon.git/commitdiff
Disable sidekiq logging in test mode (#2962)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Wed, 10 May 2017 14:16:42 +0000 (10:16 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 10 May 2017 14:16:42 +0000 (16:16 +0200)
spec/rails_helper.rb

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