mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fix password_confirmation test. Thanks to Cairo Noleto.
This commit is contained in:
parent
ffc383953e
commit
8e0c38b47a
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,7 @@ class AuthenticableTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
test 'should have password confirmation accessible' do
|
||||
assert field_accessible?(:password)
|
||||
assert field_accessible?(:password_confirmation)
|
||||
end
|
||||
|
||||
test 'should not have password salt accessible' do
|
||||
|
@ -121,4 +121,3 @@ class AuthenticableTest < ActiveSupport::TestCase
|
|||
assert_nil authenticated_user
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue