X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/45487e1ff8e7d334792440a2b5b3b1067269bfaf..3871d61be43857436d1eaefe9e84841e8a7d0f4f:/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 7dbcdc816..d6759e192 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_formatted_s(:rfc822) + assert_select "pubDate", open_note.created_at.to_fs(: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}"