Permalink
Browse files

Fix integration test to pass same-origin verification

  • Loading branch information...
1 parent 39ca25f commit cf56dcf9301583a2081e3f6b1a6d7cb8085fa4a6 @jeremy jeremy committed Dec 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/test/actionpack/controller/render_test.rb
@@ -971,7 +971,7 @@ def test_should_implicitly_render_html_template_from_xhr_request
end
def test_should_implicitly_render_js_template_without_layout
- get :render_implicit_js_template_without_layout, :format => :js
+ xhr :get, :render_implicit_js_template_without_layout, :format => :js
assert_no_match %r{<html>}, @response.body
end

0 comments on commit cf56dcf

Please sign in to comment.