From a03edd31a68356499b443480915e6fc559643b39 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 4 Jan 2021 10:18:47 +0100 Subject: [PATCH] Maintenance: Fixed test, timestamp issue with 2021 (Fixes #3356). --- spec/models/trigger/sms_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/trigger/sms_spec.rb b/spec/models/trigger/sms_spec.rb index cd73c4df3..bc5967078 100644 --- a/spec/models/trigger/sms_spec.rb +++ b/spec/models/trigger/sms_spec.rb @@ -58,7 +58,7 @@ RSpec.describe Trigger do it 'interpolates date in selected locale format' do time_in_zone = triggered_article.ticket.created_at.in_time_zone(time_zone) - expect(triggered_article.body).to match(time_in_zone.strftime('%d.%m.%y')) + expect(triggered_article.body).to match(time_in_zone.strftime('%d.%m.%Y')) end end