Permalink
Browse files

fixing wrong test

  • Loading branch information...
1 parent 9702159 commit 990e6a1b3a7015e7d828371a417084d5a94fa780 @tenderlove tenderlove committed Jan 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/mime_responds_test.rb
@@ -658,7 +658,7 @@ def test_using_hash_resource
@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

0 comments on commit 990e6a1

Please sign in to comment.