From 8b34dacda6fc87aa755ae70fd73b577ee0f83b81 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Tue, 15 Oct 2013 10:25:55 +1100 Subject: [PATCH] Free Shipping test actually works with 2 shipments; thus 2 adjustments --- .../spec/models/spree/promotion/actions/free_shipping_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/spec/models/spree/promotion/actions/free_shipping_spec.rb b/core/spec/models/spree/promotion/actions/free_shipping_spec.rb index 91af82d04b7..aab01c6a100 100644 --- a/core/spec/models/spree/promotion/actions/free_shipping_spec.rb +++ b/core/spec/models/spree/promotion/actions/free_shipping_spec.rb @@ -26,8 +26,8 @@ it "should not create a discount when order already has one from this promotion" do action.perform(:order => order).should be_true action.perform(:order => order).should be_false - promotion.credits_count.should == 1 - order.shipment_adjustments.count.should == 1 + promotion.credits_count.should == 2 + order.shipment_adjustments.count.should == 2 end end end \ No newline at end of file