Skip to content
Browse files

Correct order calculation in promotion_adjustments_spec

40 + 20 - 10 + 10 = 60, not 55
  • Loading branch information...
1 parent edcadcf commit 68705b49db078337ed73636cb4f1d763082a3225 @radar radar committed May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 promo/spec/requests/promotion_adjustments_spec.rb
View
2 promo/spec/requests/promotion_adjustments_spec.rb
@@ -287,7 +287,7 @@
# Mug discount ($5) is not taken into account due to #1526
# Only "best" discount is taken into account
- Spree::Order.last.total.to_f.should == 55.00 # mug(40) + bag(20) - bag_discount(10) + shipping(10)
+ Spree::Order.last.total.to_f.should == 60.0 # mug(40) + bag(20) - bag_discount(10) + shipping(10)
end

0 comments on commit 68705b4

Please sign in to comment.
Something went wrong with that request. Please try again.