demarches-normaliennes/spec/factories/user.rb

8 lines
163 B
Ruby
Raw Normal View History

2015-09-23 10:02:01 +02:00
FactoryGirl.define do
sequence(:user_email) { |n| "plop#{n}@plop.com" }
factory :user do
email { generate(:user_email) }
password 'password'
end
2017-04-04 15:27:04 +02:00
end