diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-07-28 12:22:37 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-07-28 12:22:37 +0200 |
commit | a74fbb2972bb161c553d7a5bd3a13299de6c7927 (patch) | |
tree | f60f86fcb211460acf3204ab02de41f8aaa3570b /activesupport/lib | |
parent | 32b0db266ced3f370d4e989c93a074002153a1c1 (diff) | |
download | rails-a74fbb2972bb161c553d7a5bd3a13299de6c7927.tar.gz rails-a74fbb2972bb161c553d7a5bd3a13299de6c7927.tar.bz2 rails-a74fbb2972bb161c553d7a5bd3a13299de6c7927.zip |
Add `:nodoc:` for internal testing methods [ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/log_subscriber/test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/log_subscriber/test_helper.rb b/activesupport/lib/active_support/log_subscriber/test_helper.rb index 75f353f62c..70ac4a4d5c 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 # you can collect them doing @logger.logged(level), where level is the level # used in logging, like info, debug, warn and so on. module TestHelper - def setup + def setup # :nodoc: @logger = MockLogger.new @notifier = ActiveSupport::Notifications::Fanout.new @@ -44,7 +44,7 @@ module ActiveSupport ActiveSupport::Notifications.notifier = @notifier end - def teardown + def teardown # :nodoc: set_logger(nil) ActiveSupport::Notifications.notifier = @old_notifier end |