Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2012-03-28 03:31:45 +0400
committerMaxwell Salzberg <maxwell@joindiaspora.com>2012-03-28 03:31:56 +0400
commitba917ec80b3b7470fd209747d3d585579eb95a67 (patch)
treee0b741c59914c2dbcbbb310468084d946791ae2a /spec/controllers/comments_controller_spec.rb
parent843c0d9c1ac71b6d21bf01fe65a4adcdb143d990 (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.rb2
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