Fix integration test to pass same-origin verification
This commit is contained in:
parent
39ca25f5c4
commit
cf56dcf930
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user