From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 14:10:27 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_redmine_lin... X-Git-Tag: 4.1.0~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26343ea6b2475318f17c683e8760c5dd07c2313b;p=redmine.git cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_redmine_links_git_commit git-svn-id: http://svn.redmine.org/redmine/trunk@19017 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index d658af3f8..7fd7bf7c0 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -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, }