Skip to content

Commit

Permalink
Fix spec that was using outdated line items cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-brough committed Aug 16, 2016
1 parent 5e58d10 commit 3aecbe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/spec/models/spree/order_updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module Spree
updater.update
create(:adjustment, source: promotion_action, adjustable: order, order: order)
create(:line_item, order: order, price: 10) # in addition to the two already created
order.line_items.reload # need to pick up the extra line item
updater.update
end

Expand Down

0 comments on commit 3aecbe9

Please sign in to comment.