Commit 749e09ac2846f6eab698b2026cf23f37016c6fe6

Authored by Andrew Kane
1 parent 769668bb

Put notifications behind ENV var

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/test_helper.rb
... ... @@ -20,7 +20,7 @@ puts "Running against Elasticsearch #{Searchkick.server_version}"
20 20 I18n.config.enforce_available_locales = true
21 21  
22 22 ActiveJob::Base.logger = nil if defined?(ActiveJob)
23   -# ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT)
  23 +ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT) if ENV["NOTIFICATIONS"]
24 24  
25 25 def elasticsearch2?
26 26 Searchkick.server_version.starts_with?("2.")
... ...