From 2ce96f4bbe0b36651c32031a0eda4034abb5f4e2 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Thu, 24 Sep 2020 20:17:45 +0100 Subject: [PATCH] Registration path is working correctly again without spree --- spec/controllers/spree/orders_controller_spec.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/spec/controllers/spree/orders_controller_spec.rb b/spec/controllers/spree/orders_controller_spec.rb index 1f74a3915f..fb194228e1 100644 --- a/spec/controllers/spree/orders_controller_spec.rb +++ b/spec/controllers/spree/orders_controller_spec.rb @@ -134,12 +134,7 @@ describe Spree::OrdersController, type: :controller do describe "the page" do render_views - pending "provides the right registration path" do - # We have an issue with the registration link within Spree controllers. - # The `registration_path` helper resolves to `/signup` due to - # spree_auth_device > config > routes.rb, but it should be `/register`. - # - # When this is true, we can use registration_path in views again. + it "provides the right registration path" do expect(subject.registration_path).to eq registration_path end