From 9ef0fbfe60d1ec9b2205a04b5abe0785c8ec336f Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Thu, 3 Nov 2011 21:08:32 -0700 Subject: [PATCH] DG MS; fix last failing spec --- spec/models/user/connecting_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/user/connecting_spec.rb b/spec/models/user/connecting_spec.rb index 78d86934b..3f615fc31 100644 --- a/spec/models/user/connecting_spec.rb +++ b/spec/models/user/connecting_spec.rb @@ -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)