diff --git a/db/seeds.rb b/db/seeds.rb index 55d963f98..9b7756551 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -830,3 +830,19 @@ def random_words comments: random_words, }) end + +for i in (1..20) do + DigitalServiceAccount.create!({ + organization_list: [@gsa.id], + name: "Social Media Account #{i}", + account: DigitalServiceAccount.list.sample, + aasm_state: DigitalServiceAccount.aasm.states.map(&:name).sample, + service_url: "https://example.lvh.me/account#{i}" + }) + + DigitalProduct.create({ + organization_list: [@gsa.id], + name: "Digital Product #{i}", + aasm_state: DigitalProduct.aasm.states.map(&:name).sample + }) +end \ No newline at end of file