diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 11:53:15 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-09 11:53:15 +0000 |
commit | c8f1c4abd278c1c77315bb738f473ced12d1bb7b (patch) | |
tree | 0e295142da054c3661699e2405a2810213c4abb2 /test/helpers/application_helper_test.rb | |
parent | d2cf7781ab4d01def85b2dc62df969761e5d792b (diff) | |
download | redmine-c8f1c4abd278c1c77315bb738f473ced12d1bb7b.tar.gz redmine-c8f1c4abd278c1c77315bb738f473ced12d1bb7b.zip |
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
Diffstat (limited to 'test/helpers/application_helper_test.rb')
-rw-r--r-- | test/helpers/application_helper_test.rb | 5 |
1 files changed, 3 insertions, 2 deletions
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{<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 |