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