Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev ENV only] Adds attribute to enterprise factory #11624

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/tasks/sample_data/enterprise_factory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def enterprise_data(users)
owner: users["Freddy Shop Farmer"],
is_primary_producer: true,
sells: "own",
visible: "public",
address: address("72 Lake Road, Blackburn, 3130"),
long_description: <<DESC
This enterprise is a producer which also sells directly to consumers.
Expand All @@ -61,6 +62,7 @@ def enterprise_data(users)
owner: users["Fredo Hub Farmer"],
is_primary_producer: true,
sells: "any",
visible: "public",
address: address("7 Verbena Street, Mordialloc, 3195"),
long_description: <<DESC
This enterprise is a producer selling its own and other produce to
Expand All @@ -72,6 +74,7 @@ def enterprise_data(users)
owner: users["Mary Retailer"],
is_primary_producer: false,
sells: "any",
visible: "public",
address: address("20 Galvin Street, Altona, 3018"),
long_description: <<DESC
This enterprise sells the products of producers, but doesn't have any
Expand All @@ -83,6 +86,7 @@ def enterprise_data(users)
owner: users["Maryse Private"],
is_primary_producer: false,
sells: "any",
visible: "public",
address: address("6 Martin Street, Belgrave, 3160"),
require_login: true,
long_description: <<DESC
Expand Down
Loading