]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/notes_controller_test.rb
Merge remote-tracking branch 'upstream/pull/3612'
[rails.git] / test / controllers / api / notes_controller_test.rb
index 7dbcdc816e8ae965b007e8445a0b5572633c99d4..d6759e192405a3dc9a89f8db6d2b55602a000e96 100644 (file)
@@ -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}"