aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/test/cases/serialized_attribute_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/serialized_attribute_test.rb b/activerecord/test/cases/serialized_attribute_test.rb
index 96d1e365f0..d7e6d3465f 100644
--- a/activerecord/test/cases/serialized_attribute_test.rb
+++ b/activerecord/test/cases/serialized_attribute_test.rb
@@ -96,7 +96,7 @@ class SerializedAttributeTest < ActiveRecord::TestCase
# On 4.0, re-saving a row with a database NULL will turn that into a JSON
# "null"
- assert_equal 1, Topic.where('content = "null"').count
+ assert_equal 1, Topic.where("content = 'null'").count
end
def test_serialized_attribute_declared_in_subclass