Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…to fix broken tests
  • Loading branch information...
commit b8636d14b8000f7015b94b088ce05c07d37774dc 1 parent 2bae6e1
@radar radar authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/spec/controllers/spree/checkout_controller_spec.rb
View
2  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 }
Please sign in to comment.
Something went wrong with that request. Please try again.