DG MS; fix last failing spec

This commit is contained in:
danielgrippi 2011-11-03 21:08:32 -07:00
parent acf6936d7c
commit 9ef0fbfe60

View file

@ -131,7 +131,7 @@ describe Diaspora::UserModules::Connecting do
it 'dispatches a request on a share-back' do
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)
contact.should_receive(:dispatch_request)