From 029d315e79a3a91dcee1a3f5e4d7763db95a5422 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 14:10:40 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_redmine_links_mercurial_commit git-svn-id: http://svn.redmine.org/redmine/trunk@19018 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 7fd7bf7c0..f05fdb6f2 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -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, -- 2.39.5