summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 11:53:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 11:53:37 +0000
commitf59fdeeb4a8f750d6c2551d76636b9a388d170f9 (patch)
treedaf3d3e26ed0c99e5a90df65915ccf617181e659 /test/helpers
parent09c0dd38179fe2cea665cac245701dfbfe75c72f (diff)
downloadredmine-f59fdeeb4a8f750d6c2551d76636b9a388d170f9.tar.gz
redmine-f59fdeeb4a8f750d6c2551d76636b9a388d170f9.zip
cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_user_links_with_email_as_login_name_should_not_be_parsed_markdown
git-svn-id: http://svn.redmine.org/redmine/trunk@19008 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/application_helper_test.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb
index 8cd92dfda..f35fca027 100644
--- a/test/helpers/application_helper_test.rb
+++ b/test/helpers/application_helper_test.rb
@@ -464,13 +464,15 @@ class ApplicationHelperTest < Redmine::HelperTest
# user link format: @jsmith@somenet.foo
raw = "@jsmith@somenet.foo should not be parsed in jsmith@somenet.foo"
- assert_match %r{<p><a class=\"user active\".*>#{u.name}</a> should not be parsed in <a href=\"mailto:jsmith@somenet.foo\">jsmith@somenet.foo</a></p>},
- textilizable(raw, :project => Project.find(1))
+ assert_match(
+ %r{<p><a class=\"user active\".*>#{u.name}</a> should not be parsed in <a href=\"mailto:jsmith@somenet.foo\">jsmith@somenet.foo</a></p>},
+ textilizable(raw, :project => Project.find(1)))
# user link format: user:jsmith@somenet.foo
raw = "user:jsmith@somenet.foo should not be parsed in jsmith@somenet.foo"
- assert_match %r{<p><a class=\"user active\".*>#{u.name}</a> should not be parsed in <a href=\"mailto:jsmith@somenet.foo\">jsmith@somenet.foo</a></p>},
- textilizable(raw, :project => Project.find(1))
+ assert_match(
+ %r{<p><a class=\"user active\".*>#{u.name}</a> should not be parsed in <a href=\"mailto:jsmith@somenet.foo\">jsmith@somenet.foo</a></p>},
+ textilizable(raw, :project => Project.find(1)))
end
end