mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Fix RuboCop offense Performance/StringInclude (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22003 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -211,7 +211,7 @@ class Redmine::WikiFormatting::MacrosTest < Redmine::HelperTest
|
||||
|
||||
def test_macro_hello_world
|
||||
text = "{{hello_world}}"
|
||||
assert textilizable(text).match(/Hello world!/)
|
||||
assert textilizable(text).include?('Hello world!')
|
||||
end
|
||||
|
||||
def test_macro_hello_world_should_escape_arguments
|
||||
|
||||
Reference in New Issue
Block a user