diff --git a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb index d17c2a09f..0918f7fc2 100644 --- a/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb @@ -88,7 +88,7 @@ if Object.const_defined?(:Commonmarker) def test_should_remove_invalid_div_class html = '
Text
' sanitized = filter(html) - refute_include 'bad-class', sanitized + refute_includes 'bad-class', sanitized end def test_should_remove_invalid_p_class