From 679dee92e2386341cbbee018159e8991646c198b Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 26 Nov 2021 18:00:52 +0000 Subject: [PATCH] Update seeds --- db/seeds.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 6156dff01..99d537266 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -6,5 +6,6 @@ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first) -User.create!(email: "test@example.com", password: "password") +org = Organisation.create!(name: "DLUHC", address_line1: "2 Marsham Street", address_line2: "London", postcode: "SW1P 4DF") +User.create!(email: "test@example.com", password: "password", organisation: org) AdminUser.create!(email: "admin@example.com", password: "password")