aboutsummaryrefslogtreecommitdiffstats
path: root/db/seeds.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 9d91a9e85..195729c3a 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -19,8 +19,8 @@ end
OfferWorkbench.find_or_create_by(name: "Gestion de l'offre", organisation: stif)
-operator = Organisation.find_or_create_by!(name: 'Transporteur A') do |organisation|
- organisation.code = "transporteur-a"
+operator = Organisation.find_or_create_by!(code: 'transporteur-a') do |organisation|
+ organisation.name = "Transporteur A"
end
operator.users.find_or_create_by!(username: "transporteur") do |user|