Skip to content

Commit

Permalink
Stub call to restock_items! which we don't care about in order cancel…
Browse files Browse the repository at this point in the history
…lation tests
  • Loading branch information
radar committed Nov 13, 2012
1 parent dc4818d commit 1b185dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/spec/models/order/state_machine_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
Spree::OrderMailer.stub(:cancel_email).and_return(mail_message = stub)
mail_message.stub :deliver
order.stub :has_available_shipment
order.stub :restock_items!
end

context "without shipped items" do
Expand Down

0 comments on commit 1b185dd

Please sign in to comment.