summaryrefslogtreecommitdiffstats
path: root/test/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 14:10:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 14:10:27 +0000
commit26343ea6b2475318f17c683e8760c5dd07c2313b (patch)
tree7f1ae1998cc5a99ee81bb978bfa29ac488600936 /test/helpers
parent7c95ae989933b2a214c577883816935f87ae611d (diff)
downloadredmine-26343ea6b2475318f17c683e8760c5dd07c2313b.tar.gz
redmine-26343ea6b2475318f17c683e8760c5dd07c2313b.zip
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
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/application_helper_test.rb11
1 files changed, 5 insertions, 6 deletions
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,
}