mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
adding tests order config
This commit is contained in:
@@ -319,13 +319,13 @@ module ActionController
|
||||
response = JSON.parse(@response.body)
|
||||
|
||||
expected_return = {
|
||||
"id"=>1,
|
||||
"time"=>DateTime.now.to_s,
|
||||
"post" => {
|
||||
"id"=>1,
|
||||
"title"=>"New Post",
|
||||
"body"=>"Body"
|
||||
},
|
||||
"id"=>1,
|
||||
"time"=>DateTime.now.to_s
|
||||
}
|
||||
}
|
||||
|
||||
assert_equal 'application/json', @response.content_type
|
||||
|
||||
Reference in New Issue
Block a user