aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/sanitizers_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added some tests for ActionView::Sanitizer.Timm2014-06-151-0/+32
|
* Changed the description of some pending tests. Changed the expected output ↵Timm2014-06-151-3/+4
| | | | of a script test.
* Renamed the SanitizerTest class to SanitersTest, to remove the conflict with ↵Timm2014-06-151-1/+1
| | | | the old SanitizerTest for html-scanner.
* Added video poster sanitization testing (from @vipulnsward).Timm2014-06-151-0/+5
|
* Extracted failing tests in santiizers_test.rb into their own methods and ↵Timm2014-06-151-7/+71
| | | | marked them as pending.
* Changed expected value from '<b>' to empty string.Timm2014-06-151-1/+1
|
* Removed the contains_bad_protocols? method as well as the tests for it. ↵Timm2014-06-151-33/+0
| | | | Loofah already deals with this.
* Added Loofah as a dependency in actionview.gemspec.Timm2014-06-111-0/+330
Implemented ActionView: FullSanitizer, LinkSanitizer and WhiteListSanitizer in sanitizers.rb. Deprecated protocol_separator and bad_tags. Added new tests in sanitizers_test.rb and reimplemented assert_dom_equal with Loofah.