[#884] add user
This commit is contained in:
parent
f7fb0f99bf
commit
78e86f00ea
33 changed files with 624 additions and 61 deletions
7
spec/factories/user.rb
Normal file
7
spec/factories/user.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue