mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add special config to avoid a inconsistant LoadError
Error is
```
Failure/Error: @app.call(env)
LoadError:
Unable to autoload constant Api::V0::OrderCyclesController, expected /Users/jibees/dev/openfoodnetwork/app/controllers/api/v0/order_cycles_controller.rb to define it
```
This commit is contained in:
@@ -161,6 +161,12 @@ feature "As a consumer I want to shop with a distributor", js: true do
|
||||
end
|
||||
|
||||
describe "two order cycles and more than 20 products for each" do
|
||||
around do |example|
|
||||
Capybara.raise_server_errors = false
|
||||
example.run
|
||||
Capybara.raise_server_errors = true
|
||||
end
|
||||
|
||||
before do
|
||||
20.times do
|
||||
product = create(:simple_product, supplier: supplier)
|
||||
|
||||
Reference in New Issue
Block a user