From f85a047f6f61b71eb8f40a594e4f26eeff41b297 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Fri, 4 Nov 2011 19:56:53 -0700 Subject: MS DG; for real this time? --- spec/models/post_spec.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'spec') diff --git a/spec/models/post_spec.rb b/spec/models/post_spec.rb index ddf5dda54..87106d706 100644 --- a/spec/models/post_spec.rb +++ b/spec/models/post_spec.rb @@ -196,17 +196,12 @@ describe Post do end describe '#participants' do - it 'includes the post author' do - status = Factory(:status_message, :author => bob.person, :public => true) - status.participants.map(&:id).should == [bob.person.id] - end - it 'only returns the people that commented and liked the post' do status = Factory(:status_message, :author => bob.person, :public => true) alice.comment('too', :post => status) eve.like(true, :target => status) - status.participants.map(&:id).should =~ [alice, eve, bob].map{|x| x.person.id} + status.participants.map(&:id).should =~ [alice, eve].map{|x| x.person.id} end end -- cgit v1.2.3