Fix password_confirmation test. Thanks to Cairo Noleto.

This commit is contained in:
Carlos A. da Silva
2009-09-20 10:13:42 -03:00
parent ffc383953e
commit 8e0c38b47a

View File

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