diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-15 13:30:28 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-07-15 13:40:21 -0300 |
commit | 158a6dfcd28e8b59ff656fc78856e623b7c0f799 (patch) | |
tree | 379379846c41ddc29db4bed1a074e520451c025a /actionview/test | |
parent | 126a15e0fe6a0021dd8bc37d32a2498a9c22cafd (diff) | |
download | rails-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 'actionview/test')
-rw-r--r-- | actionview/test/template/form_tag_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/form_tag_helper_test.rb b/actionview/test/template/form_tag_helper_test.rb index d5976905c5..771e3fefc3 100644 --- a/actionview/test/template/form_tag_helper_test.rb +++ b/actionview/test/template/form_tag_helper_test.rb @@ -632,6 +632,6 @@ class FormTagHelperTest < ActionView::TestCase private def root_elem(rendered_content) - Loofah.fragment(rendered_content).children.first # extract from nodeset + Nokogiri::HTML::DocumentFragment.parse(rendered_content).children.first # extract from nodeset end end |