Travel 1 month forward to get last month summaries

This commit is contained in:
Karl Erik Õunapuu 2020-02-27 14:24:22 +02:00
parent 5816ae1663
commit 756a8b0c1c

View file

@ -4,7 +4,7 @@ class DirectoInvoiceForwardJobTest < ActiveSupport::TestCase
setup do setup do
@invoice = invoices(:one) @invoice = invoices(:one)
@user = registrars(:bestnames) @user = registrars(:bestnames)
travel_to Time.zone.parse('2010-07-06') travel_to Time.zone.parse('2010-08-06')
end end
def teardown def teardown