From fa77204e14f9e83d94cef67b4ef060e4df4ff4a4 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Sat, 31 Oct 2020 10:44:19 +0000 Subject: [PATCH] Adapt spec to the move of the controller, in prod the call to request.env['PATH_INFO'] will work correctly --- spec/controllers/admin/base_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/admin/base_controller_spec.rb b/spec/controllers/admin/base_controller_spec.rb index 9d94e3c0c5..a63028ad9f 100644 --- a/spec/controllers/admin/base_controller_spec.rb +++ b/spec/controllers/admin/base_controller_spec.rb @@ -10,7 +10,7 @@ describe Admin::BaseController, type: :controller do it "redirects to Angular login" do spree_get :index - expect(response).to redirect_to root_path(anchor: "login?after_login=/spree/admin/base") + expect(response).to redirect_to root_path(anchor: "login?after_login=/admin/base") end describe "rendering as json ActiveModelSerializer" do