1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Daniel Colson
94333a4c31 Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
Ryuta Kamizono
3ab5f475e0 Fix test_should_sanitize_illegal_style_properties failure
https://travis-ci.org/rails/rails/jobs/279300966#L2600

The result of `Loofah::HTML5::Scrub.scrub_css` was changed since
v2.1.0.rc1.

ca56295ff9
2017-09-25 07:15:52 +09:00
Kir Shatrov
424117281e Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
Matthew Draper
87b3e226d6 Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590, reversing
changes made to afb66a5a59.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e Enforce frozen string in Rubocop 2017-07-01 02:11:03 +03:00
Ross Kaffenberger
ba1d67e12e Update comment in sanitizer helper test [skip ci]
The previously referenced file no longer appears to exist in the project.
2017-03-29 21:28:07 -04:00
Andrew Hood
504a9715ee
Remove encode_special_chars option from strip_tags 2017-02-27 14:17:17 -08:00
Xavier Noria
4b6c68dfb8 applies new string literal convention in actionview/test
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:50:17 +02:00
Kasper Timm Hansen
37695b8aab Let strip_tags leave HTML escaping to Rails.
Prevents double escaping errors, such as "&" becoming "&".
2015-03-10 20:04:01 +01:00
Kasper Timm Hansen
28eecd934b Ship with rails-html-sanitizer instead. 2014-09-03 20:27:59 +02:00
Rafael Mendonça França
8d0d051680 Fix assertion to map the behaviour of the old sanitizer 2014-08-18 16:04:45 -03:00
Timm
2563c2cec3 Removed a bunch of duplicated tests in SanitizeHelperTest. 2014-06-16 21:04:11 +02:00
Timm
9a3a59eaae Fixed: spelling mistake in SanitizeHelperTest. 2014-06-16 21:04:06 +02:00
Timm
7e2f7daabc Marked tests in sanitize_helper_test.rb as pending. 2014-06-15 23:40:53 +02:00
Timm
3e4ae8e5a2 Reordered form removal with stripping. 2014-06-15 23:35:24 +02:00
azul
4fb2be5456 minor: point to the right test suite location 2014-05-14 09:24:31 +02:00
Piotr Sarnacki
eb23754ebb Move template tests from actionpack to actionview 2013-06-20 17:23:16 +02:00
Renamed from actionpack/test/template/sanitize_helper_test.rb (Browse further)