Skip to content

Commit

Permalink
Correct order amounts now that changes from #1526 are in place
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jun 20, 2012
1 parent 7fea804 commit d3998c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions promo/spec/requests/promotion_adjustments_spec.rb
Expand Up @@ -289,8 +289,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

it "should allow an admin to create a promotion that adds a 'free' item to the cart" do
Expand Down

0 comments on commit d3998c8

Please sign in to comment.