Skip to content

Commit 520add0

Browse files
authored
Add setting "bank is set up" for all the seed orgs (#5320)
1 parent f911e07 commit 520add0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

db/seeds.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def random_record_for_org(org, klass)
4242
organization.state = "IN"
4343
organization.zipcode = "12345"
4444
organization.email = "[email protected]"
45+
organization.bank_is_set_up = true
4546
end
4647
Organization.seed_items(pdx_org)
4748

@@ -51,6 +52,7 @@ def random_record_for_org(org, klass)
5152
organization.state = "CA"
5253
organization.zipcode = "90210"
5354
organization.email = "[email protected]"
55+
organization.bank_is_set_up = false #sf_org represents a brand new bank
5456
end
5557
Organization.seed_items(sf_org)
5658

@@ -60,6 +62,7 @@ def random_record_for_org(org, klass)
6062
organization.state = Faker::Address.state_abbr
6163
organization.zipcode = Faker::Address.zip_code
6264
organization.email = "[email protected]"
65+
organization.bank_is_set_up = true
6366
end
6467
Organization.seed_items(sc_org)
6568

0 commit comments

Comments
 (0)