2018-04-19 18:12:48 +02:00
|
|
|
|
FactoryBot.define do
|
|
|
|
|
factory :service do
|
2018-09-04 16:46:48 +02:00
|
|
|
|
nom { 'service' }
|
|
|
|
|
organisme { 'organisme' }
|
2019-02-18 16:18:09 +01:00
|
|
|
|
type_organisme { Service.type_organismes.fetch(:association) }
|
2018-09-04 16:46:48 +02:00
|
|
|
|
email { 'email@toto.com' }
|
|
|
|
|
telephone { '1234' }
|
|
|
|
|
horaires { 'de 9 h à 18 h' }
|
|
|
|
|
adresse { 'adresse' }
|
2020-07-20 17:02:26 +02:00
|
|
|
|
|
|
|
|
|
association :administrateur
|
2018-04-19 18:12:48 +02:00
|
|
|
|
end
|
|
|
|
|
end
|