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