You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd like ~30-50 box_requests with random/different box_request_abuse_types that are calling list of traits, e.g. :designed_box, :review_completed, :design_claimed and additional traits like :research_needed
(Note that abuse_type seeds were generated by the dev:setup command which called the dev seed data rake task.)
Reviewing a box creates some associated box_items, but we'd want to reference the trait intentionally so some boxes have at least one item that have "research required" and some that have none. That way when we walk the box through the lifecycle (requested, designed, researched, assembled, shipped, followed_up), we'll have some that skip the research step and some that don't.
The text was updated successfully, but these errors were encountered:
Depends on #310
Using the factories, we'd like to create seeds to create ~30-50 box_requests (and boxes) with the to represent all parts of the box_request/box lifecycle.
Here's a SO re referencing factories in seeds (https://stackoverflow.com/questions/5382295/how-can-i-use-factory-girl-in-db-seeds).
We'd like ~30-50
box_requests
with random/differentbox_request_abuse_types
that are calling list of traits, e.g.:designed_box
,:review_completed
,:design_claimed
and additional traits like:research_needed
(Note that
abuse_type
seeds were generated by the dev:setup command which called the dev seed data rake task.)Reviewing
a box creates some associatedbox_items
, but we'd want to reference the trait intentionally so some boxes have at least one item that have "research required" and some that have none. That way when we walk the box through the lifecycle (requested, designed, researched, assembled, shipped, followed_up), we'll have some that skip the research step and some that don't.The text was updated successfully, but these errors were encountered: