From 9a3a59eaaefd175379963a3a6048bdb5b3950fb8 Mon Sep 17 00:00:00 2001 From: Timm Date: Fri, 16 Aug 2013 16:31:24 +0200 Subject: [PATCH] Fixed: spelling mistake in SanitizeHelperTest. --- actionview/test/template/sanitize_helper_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actionview/test/template/sanitize_helper_test.rb b/actionview/test/template/sanitize_helper_test.rb index 2b63d3c7aab96..644e102951796 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 @@ def test_strip_tags_pending 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