mirror of
https://github.com/github/rails.git
synced 2026-02-17 09:32:18 -05:00
Fix the AR json serialization tests to comply with the earlier change to quote keys correctly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user