Skip to content
Snippets Groups Projects
Commit 6993f3e2 authored by Raphael's avatar Raphael
Browse files

Fix spec in user_encryption

parent cb02839e
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,9 @@ describe 'user encryption' do
remote_user = Factory.build(:user)
remote_user.encryption_key.nil?.should== false
deliverable = Object.new
deliverable.stub!(:deliver)
Notifier.stub!(:new_request).and_return(deliverable)
Person.should_receive(:by_webfinger).and_return(remote_user.person)
#should move this to friend request, but i found it here
id = remote_user.person.id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment