From 22bce3517bdc6a835858b1947878fe5ea7fbdf62 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 18:16:27 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_link_to_attachment git-svn-id: http://svn.redmine.org/redmine/trunk@19053 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 8e5a3a03a..299d34e39 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1611,17 +1611,22 @@ class ApplicationHelperTest < Redmine::HelperTest def test_link_to_attachment a = Attachment.find(3) - assert_equal 'logo.gif', - link_to_attachment(a) - assert_equal 'Text', - link_to_attachment(a, :text => 'Text') + assert_equal( + 'logo.gif', + link_to_attachment(a)) + assert_equal( + 'Text', + link_to_attachment(a, :text => 'Text')) result = link_to("logo.gif", "/attachments/3", :class => "foo") - assert_equal result, - link_to_attachment(a, :class => 'foo') - assert_equal 'logo.gif', - link_to_attachment(a, :download => true) - assert_equal 'logo.gif', - link_to_attachment(a, :only_path => false) + assert_equal( + result, + link_to_attachment(a, :class => 'foo')) + assert_equal( + 'logo.gif', + link_to_attachment(a, :download => true)) + assert_equal( + 'logo.gif', + link_to_attachment(a, :only_path => false)) end def test_thumbnail_tag -- 2.39.5