-
-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bank Org Request Export - Include Custom Units (#4608)
* Modify exporter to use real item_requests * Include the units of the requested items * Rename to more correct item_requests * Reorganize and stupify spec Use fixes specific values instead of calculated ones in most places * Use dash to separate unit * Re-arrange factory create a bit * Create item_requests for realistic mock data * Only add new export units when custom-units feature is enabled * Handle the case where the item custom-unit was deleted later * Fix request export for default-unit * Use empty string for request unit in spec * Extract common name_with_unit for request items * Use set in item header calc to simplify duplicates Also pluralize consistently * Remove old commented out code * Specify exact expected values * Deal with pluralization conflict and update spec [#4405] * Prefetch some data and clarify all_item_requests name [#4405] * Change spec to send AR relation
- Loading branch information
Showing
6 changed files
with
294 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.