From 359802ac3b60c45ac3468f8a8ed22d8ad0bac7bb Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 7 Oct 2019 07:21:03 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in test/functional/issues_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18610 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/functional/issues_controller_test.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 53d94bd97..580340ca6 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -467,7 +467,6 @@ Layout/SpaceInsideStringInterpolation: - 'app/models/mail_handler.rb' - 'lib/redmine/core_ext/string/inflections.rb' - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - - 'test/functional/issues_controller_test.rb' - 'test/integration/admin_test.rb' Lint/AmbiguousBlockAssociation: diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 826fd16fc..c19037255 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -5091,7 +5091,7 @@ class IssuesControllerTest < Redmine::ControllerTest mail = ActionMailer::Base.deliveries.last assert_mail_body_match "Status changed from New to Assigned", mail # subject should contain the new status - assert mail.subject.include?("(#{ IssueStatus.find(2).name })") + assert mail.subject.include?("(#{IssueStatus.find(2).name})") end def test_put_update_with_note_only -- 2.39.5