Sha256: 822b3ad3811915367ad2adea5be008aa0cbc6ae84cacaa8c35f5946ac72f3b83
Contents?: true
Size: 372 Bytes
Versions: 1
Compression:
Stored size: 372 Bytes
Contents
# Read about factories at https://github.com/thoughtbot/factory_girl FactoryGirl.define do sequence(:email) { |n| Faker::Internet.safe_email 'User %d' % n } end FactoryGirl.define do factory :user do email password '12345678' password_confirmation '12345678' if User.devise_modules.include?(:confirmable) confirmed_at Time.now end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
happy_seed-0.0.21 | lib/generators/happy_seed/devise/templates/spec/factories/users.rb |