fixed failing spec
This commit is contained in:
parent
aed08d6283
commit
60793fa1aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue