mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-03 22:06:07 +00:00
Add missing Spree route for Paypal
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user