]> 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:27 +0000 (14:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 9 Nov 2019 14:10:27 +0000 (14:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19017 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/helpers/application_helper_test.rb

index d658af3f8214dfd2937d04570c09b0084e920311..7fd7bf7c0ad914cfdecb2f7f426685ff32ed77c5 100644 (file)
@@ -689,22 +689,21 @@ class ApplicationHelperTest < Redmine::HelperTest
   def test_redmine_links_git_commit
     @project = Project.find(3)
     r = Repository::Git.create!(:project => @project, :url => '/tmp/test/git')
-
-    c = Changeset.create!(:repository => r,
+    c = Changeset.create!(
+                      :repository => r,
                       :committed_on => Time.now,
                       :revision => 'abcd',
                       :scmid => 'abcd',
                       :comments => 'test commit')
-
     changeset_link = link_to('abcd',
-                               {
+                             {
                                  :controller => 'repositories',
                                  :action     => 'revision',
                                  :id         => 'subproject1',
                                  :repository_id => r.id,
                                  :rev        => 'abcd',
-                                },
-                              :class => 'changeset', :title => 'test commit')
+                              },
+                             :class => 'changeset', :title => 'test commit')
     to_test = {
       'commit:abcd' => changeset_link,
      }