Failure is better than exceptions

This commit is contained in:
Rodrigo Flores 2012-03-03 14:49:59 -03:00
parent fffc3b1e0e
commit a12f6ec70c
1 changed files with 2 additions and 0 deletions

View File

@ -165,6 +165,8 @@ class CheckFieldsTest < ActiveSupport::TestCase
def self.before_validation(instance)
end
attr_accessor :encrypted_password, :email
devise :database_authenticatable
end