ActionController::TestCase
# File test/controller/render_js_test.rb, line 18 def test_render_with_default_from_accept_header xhr :get, :greeting assert_equal "$(\"body\").visualEffect(\"highlight\");", @response.body end