Permalink
Browse files

Re-add as_null_object to Order model stub in CheckoutController spec …

…to fix broken tests
  • Loading branch information...
1 parent 2bae6e1 commit b8636d14b8000f7015b94b088ce05c07d37774dc @radar radar committed May 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/spec/controllers/spree/checkout_controller_spec.rb
@@ -9,7 +9,7 @@
:update_attributes => true,
:payment? => false,
:insufficient_stock_lines => [],
- :coupon_code => nil)
+ :coupon_code => nil).as_null_object
end
before { controller.stub :current_order => order }

0 comments on commit b8636d1

Please sign in to comment.