aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-07-28 12:22:37 +0200
committerRobin Dupret <robin.dupret@gmail.com>2015-07-28 12:22:37 +0200
commita74fbb2972bb161c553d7a5bd3a13299de6c7927 (patch)
treef60f86fcb211460acf3204ab02de41f8aaa3570b /activesupport
parent32b0db266ced3f370d4e989c93a074002153a1c1 (diff)
downloadrails-a74fbb2972bb161c553d7a5bd3a13299de6c7927.tar.gz
rails-a74fbb2972bb161c553d7a5bd3a13299de6c7927.tar.bz2
rails-a74fbb2972bb161c553d7a5bd3a13299de6c7927.zip
Add `:nodoc:` for internal testing methods [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/log_subscriber/test_helper.rb4
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