Merge pull request #8092 from filipefurtad0/improve_oc_spec

Sets OC-times in relation to the Zone time
This commit is contained in:
Andy Brett
2021-08-23 12:29:53 -07:00
committed by GitHub

View File

@@ -10,8 +10,8 @@ feature '
include AuthenticationHelper
include WebHelper
let(:order_cycle_opening_time) { Time.zone.local(2040, 11, 0o6, 0o6, 0o0, 0o0) }
let(:order_cycle_closing_time) { Time.zone.local(2040, 11, 13, 17, 0o0, 0o0) }
let(:order_cycle_opening_time) { 1.day.from_now(Time.zone.now) }
let(:order_cycle_closing_time) { 2.day.from_now(Time.zone.now) }
scenario "creating an order cycle with full interface", js: true do
# Given coordinating, supplying and distributing enterprises with some products with variants