diff --git a/config/routes/spree.rb b/config/routes/spree.rb index 240ee39083..ed648e2792 100644 --- a/config/routes/spree.rb +++ b/config/routes/spree.rb @@ -117,6 +117,9 @@ Spree::Core::Engine.routes.prepend do resources :products + # Used by spree_paypal_express + get '/checkout/:state', :to => 'checkout#edit', :as => :checkout_state + get '/unauthorized', :to => 'home#unauthorized', :as => :unauthorized get '/content/cvv', :to => 'content#cvv', :as => :cvv get '/content/*path', :to => 'content#show', :as => :content diff --git a/spec/features/consumer/shopping/checkout_paypal_spec.rb b/spec/features/consumer/shopping/checkout_paypal_spec.rb index f7748aeca0..c32225dac7 100644 --- a/spec/features/consumer/shopping/checkout_paypal_spec.rb +++ b/spec/features/consumer/shopping/checkout_paypal_spec.rb @@ -43,8 +43,6 @@ feature "Checking out with Paypal", js: true do describe "as a guest" do it "fails with an error message" do - pending "The checkout_state_path is missing." - visit checkout_path complete_the_form