Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

get the current spec

  • Loading branch information...
commit 6d893376a46213d31b9a22836035603e868bf846 1 parent 33b5078
@peterberkenbosch authored
Showing with 2 additions and 8 deletions.
  1. +2 −8 core/spec/controllers/spree/checkout_controller_spec.rb
View
10 core/spec/controllers/spree/checkout_controller_spec.rb
@@ -2,13 +2,7 @@
describe Spree::CheckoutController do
let(:order) { mock_model(Spree::Order, :checkout_allowed? => true, :completed? => false, :update_attributes => true, :payment? => false, :insufficient_stock_lines => [], :coupon_code => nil).as_null_object }
- before { controller.stub :current_order => order, :current_user => Factory(:user) }
-
- it "should understand checkout routes" do
- pending("assert_routing tests are now broken, is this relevant any more?")
- assert_routing("/checkout/delivery", {:controller => "spree/checkout", :action => "edit", :state => "delivery"})
- assert_routing("/checkout/update/delivery", {:controller => "spree/checkout", :action => "update", :state => "delivery"})
- end
+ before { controller.stub :current_order => order }
context "#edit" do
@@ -179,4 +173,4 @@
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.