mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update reports_spec test setup
This commit is contained in:
@@ -414,6 +414,7 @@ feature '
|
||||
let!(:adj_manual2) { create(:adjustment, order: order1, adjustable: order1, originator: nil, label: "Manual adjustment", amount: 40, included_tax: 3) }
|
||||
|
||||
before do
|
||||
order1.update_order!
|
||||
order1.update_attribute :email, 'customer@email.com'
|
||||
order1.shipment.update_columns(included_tax_total: 10.06)
|
||||
Timecop.travel(Time.zone.local(2015, 4, 25, 14, 0, 0)) { order1.finalize! }
|
||||
|
||||
Reference in New Issue
Block a user