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:
parent
0bed5bdb21
commit
f2ee3f20df
1 changed files with 1 additions and 1 deletions
|
@ -200,6 +200,6 @@ class DatabaseConnectedJsonEncodingTest < ActiveRecord::TestCase
|
||||||
2 => @mary
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue