This commit is contained in:
Tanguy PATTE 2015-09-23 10:02:01 +02:00
parent f7fb0f99bf
commit 78e86f00ea
33 changed files with 624 additions and 61 deletions

7
spec/factories/user.rb Normal file
View file

@ -0,0 +1,7 @@
FactoryGirl.define do
sequence(:user_email) { |n| "plop#{n}@plop.com" }
factory :user do
email { generate(:user_email) }
password 'password'
end
end