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

test/helpers/application_helper_test.rb

index 7fd7bf7c0ad914cfdecb2f7f426685ff32ed77c5..f05fdb6f29af544fbb22d9b649495eba3d84cadc 100644 (file)
@@ -714,29 +714,31 @@ class ApplicationHelperTest < Redmine::HelperTest
   def test_redmine_links_mercurial_commit
     @project = Project.find(3)
     r = Repository::Mercurial.create!(:project => @project, :url => '/tmp/test')
-    c = Changeset.create!(:repository => r,
+    c = Changeset.create!(
+                      :repository => r,
                       :committed_on => Time.now,
                       :revision => '123',
                       :scmid => 'abcd',
                       :comments => 'test commit')
-
-    changeset_link_rev = link_to('r123',
-                                  {
+    changeset_link_rev = link_to(
+                              'r123',
+                              {
                                      :controller => 'repositories',
                                      :action     => 'revision',
                                      :id         => 'subproject1',
                                      :repository_id => r.id,
                                      :rev        => '123',
-                                  },
+                              },
                               :class => 'changeset', :title => 'test commit')
-    changeset_link_commit = link_to('abcd',
-                                  {
+    changeset_link_commit = link_to(
+                              'abcd',
+                              {
                                     :controller => 'repositories',
                                     :action     => 'revision',
                                     :id         => 'subproject1',
                                     :repository_id => r.id,
                                     :rev        => 'abcd',
-                                  },
+                              },
                               :class => 'changeset', :title => 'test commit')
     to_test = {
       'r123' => changeset_link_rev,