Skip to content

Commit

Permalink
Correct amounts in promo_adjustments_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Nov 18, 2011
1 parent 369b358 commit 44c3815
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions promo/spec/requests/promotion_adjustments_spec.rb
Expand Up @@ -57,7 +57,7 @@
click_button "Save and Continue"
fill_in "order_coupon_code", :with => "ORDER_38"
click_button "Save and Continue"
Spree::Order.first.total.to_f.should == 47.00
Spree::Order.first.total.to_f.should == 52.00
end

it "should allow an admin to create a single user coupon promo with flat rate discount" do
Expand Down Expand Up @@ -97,7 +97,7 @@
click_button "Save and Continue"
fill_in "order_coupon_code", :with => "SINGLE_USE"
click_button "Save and Continue"
Spree::Order.first.total.to_f.should == 47.00
Spree::Order.first.total.to_f.should == 52.00

user = Factory(:user, :email => "john@test.com", :password => "secret", :password_confirmation => "secret")
click_link "Logout"
Expand Down Expand Up @@ -206,7 +206,7 @@
click_button "Save and Continue"
click_button "Save and Continue"
click_button "Save and Continue"
Spree::Order.last.total.to_f.should == 42.00
Spree::Order.last.total.to_f.should == 63.00
page.should have_content("Free Shipping")
end

Expand Down

0 comments on commit 44c3815

Please sign in to comment.