Skip to content

Commit

Permalink
Remove misplaced assertion from promotion_adjustments_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jun 7, 2012
1 parent d6950a2 commit 42c6894
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion promo/spec/requests/promotion_adjustments_spec.rb
Expand Up @@ -343,7 +343,6 @@
last_order.item_total.to_f.should == 60.00
last_order.adjustments.promotion.map(&:amount).sum.to_f.should == -40.00
last_order.total.to_f.should == 30.00
Spree::Order.last.total.to_f.should == 55.00 # mug(40) - mug_discount(5) + 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 42c6894

Please sign in to comment.