diff options
author | Timm <kaspth@gmail.com> | 2013-08-16 16:31:24 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-16 21:04:06 +0200 |
commit | 9a3a59eaaefd175379963a3a6048bdb5b3950fb8 (patch) | |
tree | 811c510f874a662136918ad1d4cd9d3a141a1c15 /actionview/test | |
parent | 9dac1e8b8f05ab047cd1a514b42a190792eb6ce4 (diff) | |
download | rails-9a3a59eaaefd175379963a3a6048bdb5b3950fb8.tar.gz rails-9a3a59eaaefd175379963a3a6048bdb5b3950fb8.tar.bz2 rails-9a3a59eaaefd175379963a3a6048bdb5b3950fb8.zip |
Fixed: spelling mistake in SanitizeHelperTest.
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/template/sanitize_helper_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/test/template/sanitize_helper_test.rb b/actionview/test/template/sanitize_helper_test.rb index 2b63d3c7aa..644e102951 100644 --- a/actionview/test/template/sanitize_helper_test.rb +++ b/actionview/test/template/sanitize_helper_test.rb @@ -1,7 +1,7 @@ require 'abstract_unit' -# The exhaustive tests are in test/template/html-scanner/sanitizer_test.rb -# This tests the that the helpers hook up correctly to the sanitizer classes. +# The exhaustive tests are in test/controller/html/sanitizer_test.rb. +# This tests that the helpers hook up correctly to the sanitizer classes. class SanitizeHelperTest < ActionView::TestCase tests ActionView::Helpers::SanitizeHelper @@ -49,7 +49,7 @@ class SanitizeHelperTest < ActionView::TestCase stripped = strip_tags(blank) assert_equal blank, stripped end - + # Actual: "something " assert_equal "something <img onerror=alert(1337)", ERB::Util.html_escape(strip_tags("something <img onerror=alert(1337)")) end |