diff options
author | Maxwell Salzberg <maxwell@joindiaspora.com> | 2012-03-28 03:31:45 +0400 |
---|---|---|
committer | Maxwell Salzberg <maxwell@joindiaspora.com> | 2012-03-28 03:31:56 +0400 |
commit | ba917ec80b3b7470fd209747d3d585579eb95a67 (patch) | |
tree | e0b741c59914c2dbcbbb310468084d946791ae2a /spec/controllers/comments_controller_spec.rb | |
parent | 843c0d9c1ac71b6d21bf01fe65a4adcdb143d990 (diff) |
some sad fixes to try and appease travis :(
Diffstat (limited to 'spec/controllers/comments_controller_spec.rb')
-rw-r--r-- | spec/controllers/comments_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/comments_controller_spec.rb b/spec/controllers/comments_controller_spec.rb index b401be602..6a9ce2406 100644 --- a/spec/controllers/comments_controller_spec.rb +++ b/spec/controllers/comments_controller_spec.rb @@ -140,7 +140,7 @@ describe CommentsController do comments = [alice, bob, eve].map{ |u| u.comment!(@message, "hey") } get :index, :post_id => @message.id, :format => 'js' - assigns[:comments].should == comments + assigns[:comments].map(&:id).should =~ comments.map(&:id) end it 'returns a 404 on a nonexistent post' do |