Update the date formatting syntax

This commit is contained in:
Jyri-Petteri Paloposki 2025-06-29 13:25:14 +03:00
parent 3fc943ce2a
commit 13bdef74b3
14 changed files with 36 additions and 36 deletions

View file

@ -124,7 +124,7 @@ class ContextsControllerTest < ActionController::TestCase
%w(guid link).each do |node|
assert_select node, /http:\/\/test.host\/contexts\/.+/
end
assert_select 'pubDate', contexts(:agenda).created_at.to_s(:rfc822)
assert_select 'pubDate', contexts(:agenda).created_at.to_formatted_s(:rfc822)
end
end
end