From 6d7f6129fe411ddc85174e928b4fefba4e7ca583 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Thu, 19 Apr 2012 17:47:32 -0700 Subject: [PATCH] remove puts in spec [ci skip] --- spec/models/post_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/models/post_spec.rb b/spec/models/post_spec.rb index 39b59846c..a86b613c4 100644 --- a/spec/models/post_spec.rb +++ b/spec/models/post_spec.rb @@ -153,7 +153,6 @@ describe Post do # @posts[0] is the newest, @posts[5] is the oldest describe ".newer" do it 'returns the next post in the array' do - @posts.each_with_index {|p, i| p p.created_at, i } @posts[3].created_at.should < @posts[2].created_at #post 2 is newer Post.newer(@posts[3]).created_at.to_s.should == @posts[2].created_at.to_s #its the newer post, not the newest end