Fix spec
This commit is contained in:
parent
601284a171
commit
a520c756ea
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ describe AspectsController do
|
||||||
@hash[:aspect].should == @aspect
|
@hash[:aspect].should == @aspect
|
||||||
end
|
end
|
||||||
it 'has a contact count' do
|
it 'has a contact count' do
|
||||||
@hash[:contact_count].should == 11
|
@hash[:contact_count].should == @aspect.contacts.count
|
||||||
end
|
end
|
||||||
it 'has people' do
|
it 'has people' do
|
||||||
desired_people = @aspect.contacts.map{|c| c.person.diaspora_handle}
|
desired_people = @aspect.contacts.map{|c| c.person.diaspora_handle}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue