diff options
author | Timm <kaspth@gmail.com> | 2013-07-23 16:34:32 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-15 23:41:00 +0200 |
commit | 37ac1c45a3a95e6d1eb01c7cf1f8dd0850f12de8 (patch) | |
tree | 7f9eddef4aa750344eedb1e4c7fa9c2f35a08ec0 /actionview/test | |
parent | 11fc26b96f6c51643aced40e4522c74036c7458d (diff) | |
download | rails-37ac1c45a3a95e6d1eb01c7cf1f8dd0850f12de8.tar.gz rails-37ac1c45a3a95e6d1eb01c7cf1f8dd0850f12de8.tar.bz2 rails-37ac1c45a3a95e6d1eb01c7cf1f8dd0850f12de8.zip |
Replaced html-scanner with Loofah.
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 18c739674a..d5976905c5 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) - HTML::Document.new(rendered_content).root.children[0] + Loofah.fragment(rendered_content).children.first # extract from nodeset end end |