aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/tagged_logging_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2018-01-26 13:15:30 -0500
committerGitHub <noreply@github.com>2018-01-26 13:15:30 -0500
commit85fcb663363cd27220e8bd3136973cc3408cf7d7 (patch)
tree8521ed5477f475e1de8bcb89b689bbd3b1abeae8 /activesupport/test/tagged_logging_test.rb
parent8baca31dbe522cb407f0b3b8c8d3d4a6804e5aed (diff)
parentfda1863e1a8c120294c56482631d8254ad6125ff (diff)
downloadrails-85fcb663363cd27220e8bd3136973cc3408cf7d7.tar.gz
rails-85fcb663363cd27220e8bd3136973cc3408cf7d7.tar.bz2
rails-85fcb663363cd27220e8bd3136973cc3408cf7d7.zip
Merge pull request #31786 from composerinteralia/respond-to-tests
Use respond_to test helpers
Diffstat (limited to 'activesupport/test/tagged_logging_test.rb')
-rw-r--r--activesupport/test/tagged_logging_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/tagged_logging_test.rb b/activesupport/test/tagged_logging_test.rb
index 5fd6a6b316..1fabd8f7a6 100644
--- a/activesupport/test/tagged_logging_test.rb
+++ b/activesupport/test/tagged_logging_test.rb
@@ -21,7 +21,7 @@ class TaggedLoggingTest < ActiveSupport::TestCase
assert_nil logger.formatter
ActiveSupport::TaggedLogging.new(logger)
assert_not_nil logger.formatter
- assert logger.formatter.respond_to?(:tagged)
+ assert_respond_to logger.formatter, :tagged
end
test "tagged once" do