diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-18 16:49:29 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-18 16:49:29 -0700 |
commit | b2c8a5fd3ea2268022915bb8a7ab449a1502b90d (patch) | |
tree | 13304831a48ecaa56491cced9184b09a9b4f248f /activesupport/lib/active_support/log_subscriber/test_helper.rb | |
parent | 234b9699463ba435086aa253ee143014a835bbe6 (diff) | |
download | rails-b2c8a5fd3ea2268022915bb8a7ab449a1502b90d.tar.gz rails-b2c8a5fd3ea2268022915bb8a7ab449a1502b90d.tar.bz2 rails-b2c8a5fd3ea2268022915bb8a7ab449a1502b90d.zip |
Notifier API == Fanout API, so replace Notifier with Fanout as they quack the same
Diffstat (limited to 'activesupport/lib/active_support/log_subscriber/test_helper.rb')
-rw-r--r-- | activesupport/lib/active_support/log_subscriber/test_helper.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/log_subscriber/test_helper.rb b/activesupport/lib/active_support/log_subscriber/test_helper.rb index 96506a4b2b..a3fb92778b 100644 --- a/activesupport/lib/active_support/log_subscriber/test_helper.rb +++ b/activesupport/lib/active_support/log_subscriber/test_helper.rb @@ -33,7 +33,7 @@ module ActiveSupport module TestHelper def setup @logger = MockLogger.new - @notifier = ActiveSupport::Notifications::Notifier.new(queue) + @notifier = ActiveSupport::Notifications::Fanout.new ActiveSupport::LogSubscriber.colorize_logging = false @@ -81,10 +81,6 @@ module ActiveSupport def set_logger(logger) ActiveSupport::LogSubscriber.logger = logger end - - def queue - ActiveSupport::Notifications::Fanout.new - end end end -end
\ No newline at end of file +end |