mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixing wrong test
This commit is contained in:
parent
9702159373
commit
990e6a1b3a
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ class RespondWithControllerTest < ActionController::TestCase
|
|||
@request.accept = "application/json"
|
||||
get :using_hash_resource
|
||||
assert_equal "application/json", @response.content_type
|
||||
assert_equal %Q[{"result":["david",13]}], @response.body
|
||||
assert_equal %Q[{"result":{"name":"david","id":13}}], @response.body
|
||||
end
|
||||
|
||||
def test_using_resource_with_block
|
||||
|
|
Loading…
Reference in a new issue