Skip to content

Commit

Permalink
Merge pull request rubyforgood#1066 from keithrbennett/1065-fix-case-…
Browse files Browse the repository at this point in the history
…contact-csv-spec-date-error

Fix time zone error (rubyforgood#1065).
  • Loading branch information
littleforest authored Oct 14, 2020
2 parents 58274fa + 2d8c80d commit 88f4d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/case_contact_reports_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let!(:case_contact) { create(:case_contact) }

before do
travel_to Time.local(2020,1,1)
travel_to Time.zone.local(2020,1,1)
sign_in user
end
after { travel_back }
Expand Down

0 comments on commit 88f4d2f

Please sign in to comment.