Flowdock
method

setup

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: ActiveSupport::LogSubscriber::TestHelper
setup() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/log_subscriber/test_helper.rb, line 36
      def setup
        @logger   = MockLogger.new
        @notifier = ActiveSupport::Notifications::Fanout.new

        ActiveSupport::LogSubscriber.colorize_logging = false

        @old_notifier = ActiveSupport::Notifications.notifier
        set_logger(@logger)
        ActiveSupport::Notifications.notifier = @notifier
      end
Register or log in to add new notes.