mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
fix buggy spec:
- this before block was causing multiple nevigation to the index - one from the spec itself, one from here.
This commit is contained in:
@@ -120,7 +120,6 @@ RSpec.describe Admin::BulkLineItemsController, type: :controller do
|
||||
context "producer enterprise" do
|
||||
before do
|
||||
allow(controller).to receive_messages spree_current_user: supplier.owner
|
||||
get :index, as: :json
|
||||
end
|
||||
|
||||
context "with no distributor allows to edit orders" do
|
||||
|
||||
Reference in New Issue
Block a user