aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2014-09-02 21:07:41 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2014-09-03 20:27:59 +0200
commit28eecd934b91618b1334acce859c26c1a380f51a (patch)
tree589226d6f13aab150b6ac70f5d763eeb94fc83e2 /actionview/test
parenta2f8377d1dd66c200a9a8d31db14f2b0a4bec744 (diff)
downloadrails-28eecd934b91618b1334acce859c26c1a380f51a.tar.gz
rails-28eecd934b91618b1334acce859c26c1a380f51a.tar.bz2
rails-28eecd934b91618b1334acce859c26c1a380f51a.zip
Ship with rails-html-sanitizer instead.
Diffstat (limited to 'actionview/test')
-rw-r--r--actionview/test/template/sanitize_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/sanitize_helper_test.rb b/actionview/test/template/sanitize_helper_test.rb
index a27258a870..e4be21be2c 100644
--- a/actionview/test/template/sanitize_helper_test.rb
+++ b/actionview/test/template/sanitize_helper_test.rb
@@ -18,7 +18,7 @@ class SanitizeHelperTest < ActionView::TestCase
def test_should_sanitize_illegal_style_properties
raw = %(display:block; position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-color:black; background-image:url(http://www.ragingplatypus.com/i/cam-full.jpg); background-x:center; background-y:center; background-repeat:repeat;)
- expected = %(display: block; width: 100%; height: 100%; background-color: black; background-image: ; background-x: center; background-y: center;)
+ expected = %(display: block; width: 100%; height: 100%; background-color: black; background-x: center; background-y: center;)
assert_equal expected, sanitize_css(raw)
end