diff options
author | Timm <kaspth@gmail.com> | 2013-07-23 19:32:07 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-15 23:41:07 +0200 |
commit | 0a7fac50186715341f16f76f1656f30aecddfe56 (patch) | |
tree | 1a4d32482b7c7af053f9e36e03c2dbf29f2e1bcd /actionpack/test/controller/integration_test.rb | |
parent | 63fc9f1f4f42c962c59ef9068d8542552ce0f887 (diff) | |
download | rails-0a7fac50186715341f16f76f1656f30aecddfe56.tar.gz rails-0a7fac50186715341f16f76f1656f30aecddfe56.tar.bz2 rails-0a7fac50186715341f16f76f1656f30aecddfe56.zip |
Changed tests to assert_kind_of Loofah::HTML::Document.
Diffstat (limited to 'actionpack/test/controller/integration_test.rb')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index 214eab2f0d..e03580cc6d 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -292,7 +292,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest assert_equal({}, cookies.to_hash) assert_equal "OK", body assert_equal "OK", response.body - assert_kind_of HTML::Document, html_document + assert_kind_of Loofah::HTML::Document, html_document assert_equal 1, request_count end end @@ -308,7 +308,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest assert_equal({}, cookies.to_hash) assert_equal "Created", body assert_equal "Created", response.body - assert_kind_of HTML::Document, html_document + assert_kind_of Loofah::HTML::Document, html_document assert_equal 1, request_count end end @@ -368,7 +368,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest assert_response :redirect assert_response :found assert_equal "<html><body>You are being <a href=\"http://www.example.com/get\">redirected</a>.</body></html>", response.body - assert_kind_of HTML::Document, html_document + assert_kind_of Loofah::HTML::Document, html_document assert_equal 1, request_count follow_redirect! |