diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-07-14 11:11:59 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-07-15 08:44:00 -0700 |
commit | cd809fd8ce920b27f813b56907e9a603a2b91839 (patch) | |
tree | e7a2fdd4687154a46ec0492a1687dc2903ce2ba7 /activerecord/test | |
parent | f4c8a4b71fcce46c3259240b50f30e134e14c4a2 (diff) | |
download | rails-cd809fd8ce920b27f813b56907e9a603a2b91839.tar.gz rails-cd809fd8ce920b27f813b56907e9a603a2b91839.tar.bz2 rails-cd809fd8ce920b27f813b56907e9a603a2b91839.zip |
Fixed SQL syntax for postgresql
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/serialized_attribute_test.rb | 2 |
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 |