-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We are now triggering caching for shipments an line items when we call `order.contents.add`. This meant that `order.shipments` and `order.line_items` needed to be reloaded for these specs. Also, the `order.shipments.reload` that I had added caused flakiness because in Postgres they would sometimes reload in a random order and then `shipments.first` and `shipments.last` wouldn't be the expected items.
- Loading branch information
1 parent
cb302fb
commit 0ca63c3
Showing
1 changed file
with
7 additions
and
23 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