Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Address test_binary_data_is_not_logged with Oracle database

The number of sql statement logged depends on each database adapter
implementation.
Also, this test does not depends on how many sql statement executed.
  • Loading branch information...
commit 2d4b2431a8af9014fca9422df5b0644a740f7992 1 parent e68abc2
Yasuo Honda yahonda authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  activerecord/test/cases/log_subscriber_test.rb
3  activerecord/test/cases/log_subscriber_test.rb
View
@@ -107,7 +107,6 @@ def test_binary_data_is_not_logged
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
Please sign in to comment.
Something went wrong with that request. Please try again.