X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2d37f1a03ca925d82667d89ba01a743defa70853..7eafdca51c2354c7905a9ea918e7ba5653c46998:/test/controllers/api/notes_controller_test.rb diff --git a/test/controllers/api/notes_controller_test.rb b/test/controllers/api/notes_controller_test.rb index eb2af64f5..fe9127029 100644 --- a/test/controllers/api/notes_controller_test.rb +++ b/test/controllers/api/notes_controller_test.rb @@ -494,7 +494,7 @@ module Api assert_select "item", :count => 1 do assert_select "link", browse_note_url(open_note) assert_select "guid", note_url(open_note) - assert_select "pubDate", open_note.created_at.to_s(:rfc822) + assert_select "pubDate", open_note.created_at.to_formatted_s(:rfc822) # assert_select "geo:lat", open_note.lat.to_s # assert_select "geo:long", open_note.lon # assert_select "georss:point", "#{open_note.lon} #{open_note.lon}"