DG MS; fix last failing spec
This commit is contained in:
parent
acf6936d7c
commit
9ef0fbfe60
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ describe Diaspora::UserModules::Connecting do
|
||||||
it 'dispatches a request on a share-back' do
|
it 'dispatches a request on a share-back' do
|
||||||
eve.share_with(alice.person, eve.aspects.first)
|
eve.share_with(alice.person, eve.aspects.first)
|
||||||
|
|
||||||
contact = alice.contacts.new(:person => eve.person)
|
contact = alice.contact_for(eve.person)
|
||||||
alice.contacts.stub!(:find_or_initialize_by_person_id).and_return(contact)
|
alice.contacts.stub!(:find_or_initialize_by_person_id).and_return(contact)
|
||||||
|
|
||||||
contact.should_receive(:dispatch_request)
|
contact.should_receive(:dispatch_request)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue