mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fixes rubocop offense "Prefer assert_not_includes over refute_includes" (#42603).
git-svn-id: https://svn.redmine.org/redmine/trunk@23727 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e6f00370ee
commit
acb6ae97c2
@ -92,7 +92,7 @@ if Object.const_defined?(:Commonmarker)
|
||||
def test_should_remove_invalid_div_class
|
||||
html = '<div class="bad-class">Text</div>'
|
||||
sanitized = filter(html)
|
||||
refute_includes 'bad-class', sanitized
|
||||
assert_not_includes 'bad-class', sanitized
|
||||
end
|
||||
|
||||
def test_should_remove_invalid_p_class
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user