1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix the AR json serialization tests to comply with the earlier change to quote keys correctly

This commit is contained in:
Michael Koziarski 2009-01-16 17:57:45 +13:00
parent 0bed5bdb21
commit f2ee3f20df

View file

@ -200,6 +200,6 @@ class DatabaseConnectedJsonEncodingTest < ActiveRecord::TestCase
2 => @mary
}
assert_equal %({1: {"name": "David"}}), authors_hash.to_json(:only => [1, :name])
assert_equal %({"1": {"name": "David"}}), authors_hash.to_json(:only => [1, :name])
end
end