Sha256: 51d3865d90440a577d6ec803f4012bdb18ec13b7bf5968f98bbc00b9996ebf1f
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
FactoryGirl.define do sequence :email do |n| "user#{n}@example.com" end factory :user do email encrypted_password 'password' trait :with_session_token do session_token 'this_is_a_big_fake_long_token' end # trait :with_forgotten_password do # confirmation_token Clearance::Token.new # end # factory :user_with_optional_password, class: 'UserWithOptionalPassword' do # password nil # encrypted_password '' # end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authenticate-0.1.0 | spec/factories/users.rb |