mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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:
@@ -384,7 +384,6 @@ Lint/Loop:
|
||||
|
||||
Lint/ParenthesesAsGroupedExpression:
|
||||
Exclude:
|
||||
- 'test/functional/account_controller_test.rb'
|
||||
- 'test/functional/email_addresses_controller_test.rb'
|
||||
- 'test/functional/my_controller_test.rb'
|
||||
- 'test/functional/settings_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
|
||||
|
||||
Reference in New Issue
Block a user