Use MultiJson in test also
This commit is contained in:
parent
959192e275
commit
8ef2ab6577
|
@ -40,7 +40,7 @@ class DeepNestingTest < ActiveSupport::TestCase
|
|||
end
|
||||
}
|
||||
|
||||
assert_equal(ActiveSupport::JSON.encode(:user => {
|
||||
assert_equal(MultiJson.encode(:user => {
|
||||
:id => 1,
|
||||
:name => 'foobar',
|
||||
:posts => [{
|
||||
|
|
|
@ -24,7 +24,7 @@ class NonRestfulResponseTest < ActiveSupport::TestCase
|
|||
end
|
||||
}
|
||||
|
||||
assert_equal(ActiveSupport::JSON.encode({
|
||||
assert_equal(MultiJson.encode({
|
||||
:post_count => 10,
|
||||
:user => {
|
||||
:id => 1,
|
||||
|
|
Loading…
Reference in New Issue