aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorKevin McPhillips <github@kevinmcphillips.ca>2016-06-09 22:11:07 -0400
committerKevin McPhillips <github@kevinmcphillips.ca>2016-06-09 22:11:07 -0400
commit83f9cdb02af11896ef5c6cab5d0998cfa3757e25 (patch)
tree34f961665c533f6a54a5e4800af7bfc8f57ba9b4 /activesupport
parent99bd118eec82ca9c8f952499b63c7039947a3dd2 (diff)
downloadrails-83f9cdb02af11896ef5c6cab5d0998cfa3757e25.tar.gz
rails-83f9cdb02af11896ef5c6cab5d0998cfa3757e25.tar.bz2
rails-83f9cdb02af11896ef5c6cab5d0998cfa3757e25.zip
Be explicit about what Logger class is expected
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/logger_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/test/logger_test.rb b/activesupport/test/logger_test.rb
index 5a91420f1e..9881d15bbc 100644
--- a/activesupport/test/logger_test.rb
+++ b/activesupport/test/logger_test.rb
@@ -143,9 +143,9 @@ class LoggerTest < ActiveSupport::TestCase
def test_logger_silencing_works_for_broadcast
another_output = StringIO.new
- another_logger = Logger.new(another_output)
+ another_logger = ActiveSupport::Logger.new(another_output)
- @logger.extend Logger.broadcast(another_logger)
+ @logger.extend ActiveSupport::Logger.broadcast(another_logger)
@logger.debug "CORRECT DEBUG"
@logger.silence do
@@ -166,7 +166,7 @@ class LoggerTest < ActiveSupport::TestCase
another_output = StringIO.new
another_logger = ::Logger.new(another_output)
- @logger.extend Logger.broadcast(another_logger)
+ @logger.extend ActiveSupport::Logger.broadcast(another_logger)
@logger.debug "CORRECT DEBUG"
@logger.silence do