Failure is better than exceptions
This commit is contained in:
parent
fffc3b1e0e
commit
a12f6ec70c
|
@ -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 New Issue