Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

create a new DateTime for testing rfc1123

  • Loading branch information...
commit a876abd07fed524b56f00d39fab0735641860b8b 1 parent 468b072
@saturnflyer saturnflyer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/models/deprecated_tags_spec.rb
View
2  spec/models/deprecated_tags_spec.rb
@@ -108,7 +108,7 @@
describe "<r:rfc1123_date>" do
it 'should render an RFC1123-compatible date' do
- @page.published_at = Time.new 2006, 1, 11
+ @page.published_at = DateTime.new 2006, 1, 11
@page.should render('<r:rfc1123_date />').as('Wed, 11 Jan 2006 00:00:00 GMT')
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.