Update spec/models/order_cycle_spec.rb

This commit is contained in:
Matt-Yorkley
2021-12-11 13:00:33 +00:00
committed by Sebastian Castro
parent 708d40ac67
commit 860c2ba03c

View File

@@ -558,7 +558,7 @@ describe OrderCycle do
it "it does not reset processed_at if close date change in the past" do
expect(oc.processed_at).to_not be_nil
oc.update!(orders_close_at: 2.day.ago)
oc.update!(orders_close_at: 2.days.ago)
expect(oc.processed_at).to_not be_nil
end