Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Added newline to end of file and removed unecessary whitespace * Added basic information for new bank, partner, and associated users * Added test for function that seeds organization with item with arbitrary name * Implemented seed_random_item_with_name function * Added a couple items unique to the new bank * Updated request units to be seeded for all organizations * Updated partners to be seeded with variable organizations and associated new partner with new bank * Added StorageLocations for new bank, fixed typo * Added Vendors for all orgs and added Purchases for new bank * Added ProductDrives, ProductDriveParticipants, and Manufacturers for all orgs, removed redundant Product Drives section * Added Donations and Distributions for the new bank, updating the way storage locations are selected to accommodate there being storage locations for multiple orgs * Updated CONTRIBUTING.md docs to reflect the newly added bank * Changes made by linter * Changed records I updated to generate for all orgs to only generate for pdx_org and sc_org * Updated bank and storage locations to use Faker * Forgot to run linter on model files * Added sections guaranteeing the items unique to the new bank are used for donations, purchases, distributions, and requests * Added on_hand_minimum_quantity and on_hand_recommended_quantity for the new bank's items, guarantee that at least one of the items unique to the new bank has an inventory less than the recommended quantity * Changed iterator name to be consistent with other uses of times.each * Updated CONTRIBUTING.md docs to describe differences of each bank * Moved seed_random_item_with_name from organization to seeds.rb
- Loading branch information