Time.now => Time.zone.now

This commit is contained in:
simon lehericey 2018-10-25 15:11:12 +02:00
parent 13ffa61435
commit 2238e5bd9f
21 changed files with 55 additions and 55 deletions

View file

@ -115,7 +115,7 @@ describe AttestationTemplate, type: :model do
before do
@logo = File.open('spec/fixtures/files/white.png')
@signature = File.open('spec/fixtures/files/black.png')
Timecop.freeze(Time.now)
Timecop.freeze(Time.zone.now)
end
after do