Test, you shall pass!

This commit is contained in:
Rodrigo Flores 2012-02-20 09:36:27 -02:00
parent 85f2f88c59
commit 2ab1086b80
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class DatabaseAuthenticatableTest < ActiveSupport::TestCase
end
test 'required_fields should be encryptable_password and the login when the login is on authentication_keys' do
swap User, :authentication_keys => [:login] do
swap Devise, :authentication_keys => [:login] do
assert_equal Devise::Models::DatabaseAuthenticatable.required_fields(User).sort, [
:encrypted_password,
:login