mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Failure is better than exceptions
This commit is contained in:
parent
fffc3b1e0e
commit
a12f6ec70c
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ class CheckFieldsTest < ActiveSupport::TestCase
|
|||
def self.before_validation(instance)
|
||||
end
|
||||
|
||||
attr_accessor :encrypted_password, :email
|
||||
|
||||
devise :database_authenticatable
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue