]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in test/functional...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 07:21:03 +0000 (07:21 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 7 Oct 2019 07:21:03 +0000 (07:21 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18610 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/functional/issues_controller_test.rb

index 53d94bd9727f5fbf2f4a77ca9f8ed29798c50d66..580340ca621d507ceb0b6113b62e5f724ec30a74 100644 (file)
@@ -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:
index 826fd16fc7d1f43aed99147141da6c816b802484..c1903725538e73b51b75edabaaa7238a9b0d11ba 100644 (file)
@@ -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