mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_should_not_parse_redmine_links_inside_link
git-svn-id: http://svn.redmine.org/redmine/trunk@19006 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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{<p><a class="changeset".*>r1</a> should not be parsed in <a class="external" href="http://example.com/url-r1/">http://example.com/url-r1/</a></p>},
|
||||
textilizable(raw, :project => Project.find(1))
|
||||
assert_match(
|
||||
%r{<p><a class="changeset".*>r1</a> should not be parsed in <a class="external" href="http://example.com/url-r1/">http://example.com/url-r1/</a></p>},
|
||||
textilizable(raw, :project => Project.find(1)))
|
||||
end
|
||||
|
||||
def test_redmine_links_with_a_different_project_before_current_project
|
||||
|
||||
Reference in New Issue
Block a user