From 28ae34b68fd07772e28ca7866d12a7ae9b2bfc14 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 9 Nov 2019 18:16:38 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelperTest#test_thumbnail_tag git-svn-id: http://svn.redmine.org/redmine/trunk@19054 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/helpers/application_helper_test.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 299d34e39..9393ba573 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -1631,9 +1631,10 @@ class ApplicationHelperTest < Redmine::HelperTest def test_thumbnail_tag a = Attachment.find(3) - assert_select_in thumbnail_tag(a), + assert_select_in( + thumbnail_tag(a), 'a[href=?][title=?] img[src=?]', - "/attachments/3", "logo.gif", "/attachments/thumbnail/3" + "/attachments/3", "logo.gif", "/attachments/thumbnail/3") end def test_link_to_project -- 2.39.5