From 643009712ca5f82639519c9617606f3fdb744b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 25 Sep 2014 16:38:51 -0300 Subject: [PATCH] Fix false possitive test This test was passing because the assert_dom_equal was only comparing the top level tag. This bug was fixed at https://github.com/rails/rails-dom-testing/commit/c06500ce4185aed04b40806feff6e123d741f235 and released as rails-dom-testing 1.0.3 --- test/sanitizer_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanitizer_test.rb b/test/sanitizer_test.rb index 5d6ad02..d1ab2aa 100644 --- a/test/sanitizer_test.rb +++ b/test/sanitizer_test.rb @@ -173,7 +173,7 @@ def test_sanitize_image_src end def test_should_allow_anchors - assert_sanitized %(), %(baz) + assert_sanitized %(), %() end def test_video_poster_sanitization