]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/BlockAlignment in ApplicationHelperTest#test_should_not_...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 11:53:15 +0000 (11:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 11:53:15 +0000 (11:53 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19006 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index 64a571f9f3f7860e77d7864d7dfd53ae5f453d06..340698663d7803a073dbdc8353da183eea1853c3 100644 (file)
@@ -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