Browse Source

feat: timecop around tests

pull/2019/head
natdeanlewissoftwire 3 years ago
parent
commit
6f8de70159
  1. 4
      spec/lib/tasks/send_missing_addresses_csv_spec.rb

4
spec/lib/tasks/send_missing_addresses_csv_spec.rb

@ -49,10 +49,6 @@ RSpec.describe "correct_addresses" do
.to_return(status: 200, body: body_2, headers: {})
end
after do
Timecop.return
end
context "when the rake task is run" do
let(:organisation) { create(:organisation, name: "test organisation") }

Loading…
Cancel
Save