mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix integration test to pass same-origin verification
This commit is contained in:
parent
39ca25f5c4
commit
cf56dcf930
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ class RenderTest < ActionController::TestCase
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue