Replace to_s on TimeWithZone objects with to_formatted_s
This commit is contained in:
parent
b676aa76c5
commit
6403515897
7 changed files with 7 additions and 7 deletions
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue