2024-04-29 00:17:15 +02:00
|
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2018-04-19 18:12:48 +02:00
|
|
|
|
FactoryBot.define do
|
|
|
|
|
factory :service do
|
2021-11-19 17:25:32 +01:00
|
|
|
|
sequence(:nom) { |n| "Service #{n}" }
|
2018-09-04 16:46:48 +02:00
|
|
|
|
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' }
|
2024-09-02 17:13:43 +02:00
|
|
|
|
siret { '35600011719156' }
|
2022-07-25 16:25:15 +02:00
|
|
|
|
etablissement_infos { { adresse: "75 rue du Louvre\n75002\nPARIS\nFRANCE" } }
|
|
|
|
|
etablissement_lat { 48.87 }
|
|
|
|
|
etablissement_lng { 2.34 }
|
2020-07-20 17:02:26 +02:00
|
|
|
|
|
|
|
|
|
association :administrateur
|
2018-04-19 18:12:48 +02:00
|
|
|
|
end
|
|
|
|
|
end
|