add login for gestionnaire
This commit is contained in:
parent
b3383bec9f
commit
44173a17fb
26 changed files with 313 additions and 142 deletions
7
spec/factories/gestionnaire.rb
Normal file
7
spec/factories/gestionnaire.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
FactoryGirl.define do
|
||||
sequence(:gestionnaire_email) { |n| "plop#{n}@plop.com" }
|
||||
factory :gestionnaire do
|
||||
email { generate(:gestionnaire_email) }
|
||||
password 'password'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue