mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
Creating simple_order_cycle instead of order_cycle
Speedup on my machine: 1 minute 44.52 seconds 21.9 seconds
This commit is contained in:
@@ -2,7 +2,7 @@ require 'spec_helper'
|
||||
|
||||
describe CheckoutController do
|
||||
let(:distributor) { double(:distributor) }
|
||||
let(:order_cycle) { create(:order_cycle) }
|
||||
let(:order_cycle) { create(:simple_order_cycle) }
|
||||
let(:order) { create(:order) }
|
||||
before do
|
||||
order.stub(:checkout_allowed?).and_return true
|
||||
|
||||
Reference in New Issue
Block a user