diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 64a571f9f..340698663 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -474,8 +474,9 @@ class ApplicationHelperTest < Redmine::HelperTest def test_should_not_parse_redmine_links_inside_link raw = "r1 should not be parsed in http://example.com/url-r1/" - assert_match %r{
r1 should not be parsed in http://example.com/url-r1/
}, - textilizable(raw, :project => Project.find(1)) + assert_match( + %r{r1 should not be parsed in http://example.com/url-r1/
}, + textilizable(raw, :project => Project.find(1))) end def test_redmine_links_with_a_different_project_before_current_project