fixed failing spec

This commit is contained in:
danielgrippi 2011-09-14 00:09:51 -07:00
parent aed08d6283
commit 60793fa1aa

View file

@ -80,7 +80,7 @@ describe AspectStream do
stream = AspectStream.new(alice, []) stream = AspectStream.new(alice, [])
stream.stub(:aspect_ids).and_return(aspect_ids) stream.stub(:aspect_ids).and_return(aspect_ids)
Person.should_receive(:all_from_aspects).with(stream.aspect_ids, alice) Person.should_receive(:all_from_aspects).with(stream.aspect_ids, alice).and_return(stub(:includes => :profile))
stream.people stream.people
end end
end end