aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/test
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxedconsulting.com>2015-09-18 07:07:12 +0100
committerAndrew White <andrew.white@unboxedconsulting.com>2015-09-21 14:02:41 +0100
commit78d9e1699f2c916516e535030125a53a40d4e64b (patch)
treea9f037bc89fe595e20f408f5f69f24181e70d35b /activejob/test
parent2b16816bc3193444397b1ec0100bd15f5a44f7d6 (diff)
downloadrails-78d9e1699f2c916516e535030125a53a40d4e64b.tar.gz
rails-78d9e1699f2c916516e535030125a53a40d4e64b.tar.bz2
rails-78d9e1699f2c916516e535030125a53a40d4e64b.zip
Silence logging in Active Job unit tests
Diffstat (limited to 'activejob/test')
-rw-r--r--activejob/test/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/test/helper.rb b/activejob/test/helper.rb
index 55f690bda8..7e86415f48 100644
--- a/activejob/test/helper.rb
+++ b/activejob/test/helper.rb
@@ -11,6 +11,7 @@ GlobalID.app = 'aj'
if ENV['AJ_INTEGRATION_TESTS']
require 'support/integration/helper'
else
+ ActiveJob::Base.logger = Logger.new(nil)
require "adapters/#{@adapter}"
end