mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Adapt spec to the move of the controller, in prod the call to request.env['PATH_INFO'] will work correctly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user