cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in test/functional/account_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19266 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2019-11-24 16:44:07 +00:00
parent 2a5eb0fb3b
commit 91ea72e2b7
2 changed files with 1 additions and 2 deletions

View File

@@ -547,7 +547,7 @@ class AccountControllerTest < Redmine::ControllerTest
user.reload
assert user.check_password?('newpass123')
assert_nil Token.find_by_id(token.id), "Token was not deleted"
assert_not_nil (mail = ActionMailer::Base.deliveries.last)
assert_not_nil ActionMailer::Base.deliveries.last
assert_select_email do
assert_select 'a[href^=?]', 'http://localhost:3000/my/password', :text => 'Change password'
end