From 940377314bc2a06897f31ab7935d6949aedab7fe Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 13 Oct 2019 16:22:31 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/IndentationConsistency in test/helpers/application_helper_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18644 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/helpers/application_helper_test.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 0ac19656f..38b0738e2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -286,7 +286,6 @@ Layout/IndentHeredoc: # SupportedStyles: normal, indented_internal_methods Layout/IndentationConsistency: Exclude: - - 'test/helpers/application_helper_test.rb' - 'test/integration/api_test/custom_fields_attribute_test.rb' - 'test/mocks/open_id_authentication_mock.rb' diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 552eb210f..fe95872b8 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -185,7 +185,7 @@ RAW def test_attached_images_with_hires_naming attachment = Attachment.generate!(:filename => 'image@2x.png') - assert_equal %(

), + assert_equal %(

), textilizable("!image@2x.png!", :attachments => [attachment]) end -- 2.39.5