Permalink
Browse files

fixed test case test_render_json_with_callback to use content_type ap…

…plication/javascript
  • Loading branch information...
1 parent 6b15a45 commit fae9ad9c712decef70b379f5aa1faa0149902831 @omjokine omjokine committed Jul 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/controller/render_json_test.rb
@@ -101,7 +101,7 @@ def test_render_json_with_status
def test_render_json_with_callback
get :render_json_hello_world_with_callback
assert_equal 'alert({"hello":"world"})', @response.body
- assert_equal 'application/json', @response.content_type
+ assert_equal 'application/javascript', @response.content_type
end
def test_render_json_with_custom_content_type

0 comments on commit fae9ad9

Please sign in to comment.