diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2013-12-17 15:04:59 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2013-12-17 15:04:59 -0700 |
commit | cf56dcf9301583a2081e3f6b1a6d7cb8085fa4a6 (patch) | |
tree | 684f0ea2fd536db3735e85da6088bc489a8c1c96 /actionview/test | |
parent | 39ca25f5c42470b4a446fa7688bce22767d82d79 (diff) | |
download | rails-cf56dcf9301583a2081e3f6b1a6d7cb8085fa4a6.tar.gz rails-cf56dcf9301583a2081e3f6b1a6d7cb8085fa4a6.tar.bz2 rails-cf56dcf9301583a2081e3f6b1a6d7cb8085fa4a6.zip |
Fix integration test to pass same-origin verification
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/actionpack/controller/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/actionpack/controller/render_test.rb b/actionview/test/actionpack/controller/render_test.rb index 8c99504050..7e28ceb9d8 100644 --- a/actionview/test/actionpack/controller/render_test.rb +++ b/actionview/test/actionpack/controller/render_test.rb @@ -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 |