aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-03 16:59:58 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-03 16:59:58 -0300
commit5db4e7f0ec2957f8641d5af884bd39e31d795597 (patch)
treef2a7eaba6451aa9ef5cc648421d60f3851493997 /actionview/test
parent66c9d31c2b9a58db03668fb0840669e4d4374123 (diff)
parent28eecd934b91618b1334acce859c26c1a380f51a (diff)
downloadrails-5db4e7f0ec2957f8641d5af884bd39e31d795597.tar.gz
rails-5db4e7f0ec2957f8641d5af884bd39e31d795597.tar.bz2
rails-5db4e7f0ec2957f8641d5af884bd39e31d795597.zip
Merge pull request #16775 from kaspth/ship-secure-sanitizer
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