Sha256: 30402f94509ee829f5932bfa303b0058f7bf399d60b5b355188ba779eb00ff01
Contents?: true
Size: 436 Bytes
Versions: 2
Compression:
Stored size: 436 Bytes
Contents
FactoryGirl.define do factory :user do #after(:build) { |u| u.password_confirmation = u.password = mypassword } email { Faker::Internet.email } password "password" password_confirmation "password" factory :confirmed_user do confirmed_at Date.today end end factory :invalid_user, parent: :user do email { Faker::Internet.email } password "short" password_confirmation "short" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise_meteor-0.1.1 | spec/factories/users.rb |
devise_meteor-0.1.0 | spec/factories/users.rb |