Permalink
Browse files

Fixes test

  • Loading branch information...
1 parent c38322e commit a0fec8b785d2c417f4fc4d59deef960da7b4777b @micmmakarov micmmakarov committed Jan 5, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/views/posts_view_spec.rb
@@ -3,7 +3,7 @@
before :each do
assign(:title, "Some Title")
- @posts = [build_stubbed(:post, :posted_on => DateTime.new(2012, 1, 1)), build_stubbed(:post)]
+ @posts = [build_stubbed(:post, :posted_on => DateTime.new(2013, 1, 1)), build_stubbed(:post)]
assign(:posts, @posts)
assign(:feed_url, 'http://www.coshx.com/feed')
render
@@ -16,7 +16,7 @@
end
it "is updated at the post date of the most recent blog post" do
- @feed_doc.at_css('updated').content.should match /2012/
+ @feed_doc.at_css('updated').content.should match /2013/
end
end

0 comments on commit a0fec8b

Please sign in to comment.