aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-15 13:30:28 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-07-15 13:40:21 -0300
commit158a6dfcd28e8b59ff656fc78856e623b7c0f799 (patch)
tree379379846c41ddc29db4bed1a074e520451c025a /actionpack/test/controller
parent126a15e0fe6a0021dd8bc37d32a2498a9c22cafd (diff)
downloadrails-158a6dfcd28e8b59ff656fc78856e623b7c0f799.tar.gz
rails-158a6dfcd28e8b59ff656fc78856e623b7c0f799.tar.bz2
rails-158a6dfcd28e8b59ff656fc78856e623b7c0f799.zip
We don't need loofah for the assertions
We can just use nokogiri
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/integration_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb
index f509426040..2cd32ef85a 100644
--- a/actionpack/test/controller/integration_test.rb
+++ b/actionpack/test/controller/integration_test.rb
@@ -291,7 +291,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest
assert_equal({}, cookies.to_hash)
assert_equal "OK", body
assert_equal "OK", response.body
- assert_kind_of Loofah::HTML::Document, html_document
+ assert_kind_of Nokogiri::HTML::Document, html_document
assert_equal 1, request_count
end
end
@@ -307,7 +307,7 @@ class IntegrationProcessTest < ActionDispatch::IntegrationTest
assert_equal({}, cookies.to_hash)
assert_equal "Created", body
assert_equal "Created", response.body
- assert_kind_of Loofah::HTML::Document, html_document
+ assert_kind_of Nokogiri::HTML::Document, html_document
assert_equal 1, request_count
end
end
@@ -367,7 +367,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 Loofah::HTML::Document, html_document
+ assert_kind_of Nokogiri::HTML::Document, html_document
assert_equal 1, request_count
follow_redirect!