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'
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