diff options
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/blog_posts_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/blog_posts_spec.rb b/spec/models/blog_posts_spec.rb index c15d1da..f15cd64 100644 --- a/spec/models/blog_posts_spec.rb +++ b/spec/models/blog_posts_spec.rb @@ -126,7 +126,7 @@ describe BlogPost do Factory(:post) blog_post = Factory(:post, :published_at => Time.now + 1.minute) blog_posts = BlogPost.all - blog_posts.first.next.should == blog_post + blog_posts.last.next.should == blog_post end end |