aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/cases/log_subscriber_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/log_subscriber_test.rb b/activerecord/test/cases/log_subscriber_test.rb
index 9fee219753..345e83a102 100644
--- a/activerecord/test/cases/log_subscriber_test.rb
+++ b/activerecord/test/cases/log_subscriber_test.rb
@@ -107,7 +107,6 @@ class LogSubscriberTest < ActiveRecord::TestCase
Binary.create(:data => 'some binary data')
wait
- assert_equal 3, @logger.logged(:debug).size
- assert_match(/<16 bytes of binary data>/, @logger.logged(:debug)[-2])
+ assert_match(/<16 bytes of binary data>/, @logger.logged(:debug).join)
end
end