demarches-normaliennes/spec/factories/user.rb
2017-06-01 18:11:56 +02:00

7 lines
163 B
Ruby

FactoryGirl.define do
sequence(:user_email) { |n| "user#{n}@user.com" }
factory :user do
email { generate(:user_email) }
password 'password'
end
end