Maintenance: Fixed test, timestamp issue with 2021 (Fixes #3356).
This commit is contained in:
parent
88d4e534b2
commit
a03edd31a6
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ RSpec.describe Trigger do
|
||||||
it 'interpolates date in selected locale format' do
|
it 'interpolates date in selected locale format' do
|
||||||
time_in_zone = triggered_article.ticket.created_at.in_time_zone(time_zone)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue