summaryrefslogtreecommitdiffstats
path: root/test/functional/account_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 16:44:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 16:44:07 +0000
commit91ea72e2b7ca0deae298146eadb65281753dfead (patch)
tree20c59af6bbcef5220f63bce60d9d60cc9174a586 /test/functional/account_controller_test.rb
parent2a5eb0fb3b2a2a2e0542ee85be1541bc4080e309 (diff)
downloadredmine-91ea72e2b7ca0deae298146eadb65281753dfead.tar.gz
redmine-91ea72e2b7ca0deae298146eadb65281753dfead.zip
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
Diffstat (limited to 'test/functional/account_controller_test.rb')
-rw-r--r--test/functional/account_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb
index a56fcdc03..8b9ced75a 100644
--- a/test/functional/account_controller_test.rb
+++ b/test/functional/account_controller_test.rb
@@ -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