mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
09c0dd3817
commit
f59fdeeb4a
@ -464,13 +464,15 @@ class ApplicationHelperTest < Redmine::HelperTest
|
|||||||
|
|
||||||
# user link format: @jsmith@somenet.foo
|
# user link format: @jsmith@somenet.foo
|
||||||
raw = "@jsmith@somenet.foo should not be parsed in 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>},
|
assert_match(
|
||||||
textilizable(raw, :project => Project.find(1))
|
%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
|
# user link format: user:jsmith@somenet.foo
|
||||||
raw = "user:jsmith@somenet.foo should not be parsed in 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>},
|
assert_match(
|
||||||
textilizable(raw, :project => Project.find(1))
|
%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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user