{"action":"created","comment":{"url":"https://api.github.com/repos/renewablefunding/hancock/pulls/comments/37813949","id":37813949,"diff_hunk":"@@ -71,8 +84,35 @@\n       subject.recreate_with_tabs\n \n       expect(WebMock).to have_requested(:delete, \"https://demo.docusign.net/restapi/v2/accounts/123456/envelopes/1234-5678-9012/recipients\")\n-        .with(\n-          :body => \"{\\\"signers\\\":[{\\\"recipientId\\\":\\\"123-placeholder-id\\\"}]}\")\n+        .with(:body => \"{\\\"signers\\\":[{\\\"recipientId\\\":\\\"123-placeholder-id\\\"}]}\")\n+    end\n+\n+    it 'retries 3 times on timeout errors' do\n+      # receive delete 4 times due to 3 retries and 1 success\n+      expect(docusign_recipient).to receive(:delete).exactly(4).times.and_call_original\n+\n+      stub_request(:delete, %r(https://demo.docusign.net/restapi/v2/accounts/123456/envelopes/.+/recipients)).to_timeout\n+      begin\n+        subject.recreate_with_tabs\n+      rescue Timeout::Error => e\n+        load(File.join(File.dirname(__FILE__), \"..\", \"..\", \"fixtures\", \"placeholder_stub.rb\"))","path":"spec/lib/recipient/recreator_spec.rb","position":114,"original_position":114,"commit_id":"64c5a9fa217bcf8a96934cea27838f7d48b6351e","original_commit_id":"64c5a9fa217bcf8a96934cea27838f7d48b6351e","user":{"login":"presidentJFK","id":1996030,"avatar_url":"https://avatars.githubusercontent.com/u/1996030?v=3","gravatar_id":"","url":"https://api.github.com/users/presidentJFK","html_url":"https://github.com/presidentJFK","followers_url":"https://api.github.com/users/presidentJFK/followers","following_url":"https://api.github.com/users/presidentJFK/following{/other_user}","gists_url":"https://api.github.com/users/presidentJFK/gists{/gist_id}","starred_url":"https://api.github.com/users/presidentJFK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presidentJFK/subscriptions","organizations_url":"https://api.github.com/users/presidentJFK/orgs","repos_url":"https://api.github.com/users/presidentJFK/repos","events_url":"https://api.github.com/users/presidentJFK/events{/privacy}","received_events_url":"https://api.github.com/users/presidentJFK/received_events","type":"User","site_admin":false},"body":"I'm guessing this is for good ole WebMock resetting the stubs, but either way you might want a comment here,\r\nor separate it out into a method that acts as a comment, so no one is left wondering.","created_at":"2015-08-24T22:41:30Z","updated_at":"2015-08-24T22:41:30Z","html_url":"https://github.com/renewablefunding/hancock/pull/8#discussion_r37813949","pull_request_url":"https://api.github.com/repos/renewablefunding/hancock/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/renewablefunding/hancock/pulls/comments/37813949"},"html":{"href":"https://github.com/renewablefunding/hancock/pull/8#discussion_r37813949"},"pull_request":{"href":"https://api.github.com/repos/renewablefunding/hancock/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/renewablefunding/hancock/pulls/8","id":42962109,"html_url":"https://github.com/renewablefunding/hancock/pull/8","diff_url":"https://github.com/renewablefunding/hancock/pull/8.diff","patch_url":"https://github.com/renewablefunding/hancock/pull/8.patch","issue_url":"https://api.github.com/repos/renewablefunding/hancock/issues/8","number":8,"state":"open","locked":false,"title":"II-7398 better error handling for Docusign corrections, remove multiple placeholders","user":{"login":"natemontgomery","id":1066458,"avatar_url":"https://avatars.githubusercontent.com/u/1066458?v=3","gravatar_id":"","url":"https://api.github.com/users/natemontgomery","html_url":"https://github.com/natemontgomery","followers_url":"https://api.github.com/users/natemontgomery/followers","following_url":"https://api.github.com/users/natemontgomery/following{/other_user}","gists_url":"https://api.github.com/users/natemontgomery/gists{/gist_id}","starred_url":"https://api.github.com/users/natemontgomery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemontgomery/subscriptions","organizations_url":"https://api.github.com/users/natemontgomery/orgs","repos_url":"https://api.github.com/users/natemontgomery/repos","events_url":"https://api.github.com/users/natemontgomery/events{/privacy}","received_events_url":"https://api.github.com/users/natemontgomery/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-20T18:30:59Z","updated_at":"2015-08-24T22:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07ea520a91c8be438c39559221eb5f3421491786","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/renewablefunding/hancock/pulls/8/commits","review_comments_url":"https://api.github.com/repos/renewablefunding/hancock/pulls/8/comments","review_comment_url":"https://api.github.com/repos/renewablefunding/hancock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/renewablefunding/hancock/issues/8/comments","statuses_url":"https://api.github.com/repos/renewablefunding/hancock/statuses/64c5a9fa217bcf8a96934cea27838f7d48b6351e","head":{"label":"renewablefunding:7398-remove-multiple-placeholders","ref":"7398-remove-multiple-placeholders","sha":"64c5a9fa217bcf8a96934cea27838f7d48b6351e","user":{"login":"renewablefunding","id":4131219,"avatar_url":"https://avatars.githubusercontent.com/u/4131219?v=3","gravatar_id":"","url":"https://api.github.com/users/renewablefunding","html_url":"https://github.com/renewablefunding","followers_url":"https://api.github.com/users/renewablefunding/followers","following_url":"https://api.github.com/users/renewablefunding/following{/other_user}","gists_url":"https://api.github.com/users/renewablefunding/gists{/gist_id}","starred_url":"https://api.github.com/users/renewablefunding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renewablefunding/subscriptions","organizations_url":"https://api.github.com/users/renewablefunding/orgs","repos_url":"https://api.github.com/users/renewablefunding/repos","events_url":"https://api.github.com/users/renewablefunding/events{/privacy}","received_events_url":"https://api.github.com/users/renewablefunding/received_events","type":"Organization","site_admin":false},"repo":{"id":31393961,"name":"hancock","full_name":"renewablefunding/hancock","owner":{"login":"renewablefunding","id":4131219,"avatar_url":"https://avatars.githubusercontent.com/u/4131219?v=3","gravatar_id":"","url":"https://api.github.com/users/renewablefunding","html_url":"https://github.com/renewablefunding","followers_url":"https://api.github.com/users/renewablefunding/followers","following_url":"https://api.github.com/users/renewablefunding/following{/other_user}","gists_url":"https://api.github.com/users/renewablefunding/gists{/gist_id}","starred_url":"https://api.github.com/users/renewablefunding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renewablefunding/subscriptions","organizations_url":"https://api.github.com/users/renewablefunding/orgs","repos_url":"https://api.github.com/users/renewablefunding/repos","events_url":"https://api.github.com/users/renewablefunding/events{/privacy}","received_events_url":"https://api.github.com/users/renewablefunding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/renewablefunding/hancock","description":"Please sign here... ","fork":false,"url":"https://api.github.com/repos/renewablefunding/hancock","forks_url":"https://api.github.com/repos/renewablefunding/hancock/forks","keys_url":"https://api.github.com/repos/renewablefunding/hancock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renewablefunding/hancock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renewablefunding/hancock/teams","hooks_url":"https://api.github.com/repos/renewablefunding/hancock/hooks","issue_events_url":"https://api.github.com/repos/renewablefunding/hancock/issues/events{/number}","events_url":"https://api.github.com/repos/renewablefunding/hancock/events","assignees_url":"https://api.github.com/repos/renewablefunding/hancock/assignees{/user}","branches_url":"https://api.github.com/repos/renewablefunding/hancock/branches{/branch}","tags_url":"https://api.github.com/repos/renewablefunding/hancock/tags","blobs_url":"https://api.github.com/repos/renewablefunding/hancock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renewablefunding/hancock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renewablefunding/hancock/git/refs{/sha}","trees_url":"https://api.github.com/repos/renewablefunding/hancock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renewablefunding/hancock/statuses/{sha}","languages_url":"https://api.github.com/repos/renewablefunding/hancock/languages","stargazers_url":"https://api.github.com/repos/renewablefunding/hancock/stargazers","contributors_url":"https://api.github.com/repos/renewablefunding/hancock/contributors","subscribers_url":"https://api.github.com/repos/renewablefunding/hancock/subscribers","subscription_url":"https://api.github.com/repos/renewablefunding/hancock/subscription","commits_url":"https://api.github.com/repos/renewablefunding/hancock/commits{/sha}","git_commits_url":"https://api.github.com/repos/renewablefunding/hancock/git/commits{/sha}","comments_url":"https://api.github.com/repos/renewablefunding/hancock/comments{/number}","issue_comment_url":"https://api.github.com/repos/renewablefunding/hancock/issues/comments{/number}","contents_url":"https://api.github.com/repos/renewablefunding/hancock/contents/{+path}","compare_url":"https://api.github.com/repos/renewablefunding/hancock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renewablefunding/hancock/merges","archive_url":"https://api.github.com/repos/renewablefunding/hancock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renewablefunding/hancock/downloads","issues_url":"https://api.github.com/repos/renewablefunding/hancock/issues{/number}","pulls_url":"https://api.github.com/repos/renewablefunding/hancock/pulls{/number}","milestones_url":"https://api.github.com/repos/renewablefunding/hancock/milestones{/number}","notifications_url":"https://api.github.com/repos/renewablefunding/hancock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renewablefunding/hancock/labels{/name}","releases_url":"https://api.github.com/repos/renewablefunding/hancock/releases{/id}","created_at":"2015-02-26T23:16:51Z","updated_at":"2015-04-30T22:02:55Z","pushed_at":"2015-08-24T21:52:39Z","git_url":"git://github.com/renewablefunding/hancock.git","ssh_url":"git@github.com:renewablefunding/hancock.git","clone_url":"https://github.com/renewablefunding/hancock.git","svn_url":"https://github.com/renewablefunding/hancock","homepage":"","size":744,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"renewablefunding:master","ref":"master","sha":"6e2f7051b83725ef7d8d1e0127ae357bc0824a48","user":{"login":"renewablefunding","id":4131219,"avatar_url":"https://avatars.githubusercontent.com/u/4131219?v=3","gravatar_id":"","url":"https://api.github.com/users/renewablefunding","html_url":"https://github.com/renewablefunding","followers_url":"https://api.github.com/users/renewablefunding/followers","following_url":"https://api.github.com/users/renewablefunding/following{/other_user}","gists_url":"https://api.github.com/users/renewablefunding/gists{/gist_id}","starred_url":"https://api.github.com/users/renewablefunding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renewablefunding/subscriptions","organizations_url":"https://api.github.com/users/renewablefunding/orgs","repos_url":"https://api.github.com/users/renewablefunding/repos","events_url":"https://api.github.com/users/renewablefunding/events{/privacy}","received_events_url":"https://api.github.com/users/renewablefunding/received_events","type":"Organization","site_admin":false},"repo":{"id":31393961,"name":"hancock","full_name":"renewablefunding/hancock","owner":{"login":"renewablefunding","id":4131219,"avatar_url":"https://avatars.githubusercontent.com/u/4131219?v=3","gravatar_id":"","url":"https://api.github.com/users/renewablefunding","html_url":"https://github.com/renewablefunding","followers_url":"https://api.github.com/users/renewablefunding/followers","following_url":"https://api.github.com/users/renewablefunding/following{/other_user}","gists_url":"https://api.github.com/users/renewablefunding/gists{/gist_id}","starred_url":"https://api.github.com/users/renewablefunding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renewablefunding/subscriptions","organizations_url":"https://api.github.com/users/renewablefunding/orgs","repos_url":"https://api.github.com/users/renewablefunding/repos","events_url":"https://api.github.com/users/renewablefunding/events{/privacy}","received_events_url":"https://api.github.com/users/renewablefunding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/renewablefunding/hancock","description":"Please sign here... ","fork":false,"url":"https://api.github.com/repos/renewablefunding/hancock","forks_url":"https://api.github.com/repos/renewablefunding/hancock/forks","keys_url":"https://api.github.com/repos/renewablefunding/hancock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renewablefunding/hancock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renewablefunding/hancock/teams","hooks_url":"https://api.github.com/repos/renewablefunding/hancock/hooks","issue_events_url":"https://api.github.com/repos/renewablefunding/hancock/issues/events{/number}","events_url":"https://api.github.com/repos/renewablefunding/hancock/events","assignees_url":"https://api.github.com/repos/renewablefunding/hancock/assignees{/user}","branches_url":"https://api.github.com/repos/renewablefunding/hancock/branches{/branch}","tags_url":"https://api.github.com/repos/renewablefunding/hancock/tags","blobs_url":"https://api.github.com/repos/renewablefunding/hancock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renewablefunding/hancock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renewablefunding/hancock/git/refs{/sha}","trees_url":"https://api.github.com/repos/renewablefunding/hancock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renewablefunding/hancock/statuses/{sha}","languages_url":"https://api.github.com/repos/renewablefunding/hancock/languages","stargazers_url":"https://api.github.com/repos/renewablefunding/hancock/stargazers","contributors_url":"https://api.github.com/repos/renewablefunding/hancock/contributors","subscribers_url":"https://api.github.com/repos/renewablefunding/hancock/subscribers","subscription_url":"https://api.github.com/repos/renewablefunding/hancock/subscription","commits_url":"https://api.github.com/repos/renewablefunding/hancock/commits{/sha}","git_commits_url":"https://api.github.com/repos/renewablefunding/hancock/git/commits{/sha}","comments_url":"https://api.github.com/repos/renewablefunding/hancock/comments{/number}","issue_comment_url":"https://api.github.com/repos/renewablefunding/hancock/issues/comments{/number}","contents_url":"https://api.github.com/repos/renewablefunding/hancock/contents/{+path}","compare_url":"https://api.github.com/repos/renewablefunding/hancock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renewablefunding/hancock/merges","archive_url":"https://api.github.com/repos/renewablefunding/hancock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renewablefunding/hancock/downloads","issues_url":"https://api.github.com/repos/renewablefunding/hancock/issues{/number}","pulls_url":"https://api.github.com/repos/renewablefunding/hancock/pulls{/number}","milestones_url":"https://api.github.com/repos/renewablefunding/hancock/milestones{/number}","notifications_url":"https://api.github.com/repos/renewablefunding/hancock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renewablefunding/hancock/labels{/name}","releases_url":"https://api.github.com/repos/renewablefunding/hancock/releases{/id}","created_at":"2015-02-26T23:16:51Z","updated_at":"2015-04-30T22:02:55Z","pushed_at":"2015-08-24T21:52:39Z","git_url":"git://github.com/renewablefunding/hancock.git","ssh_url":"git@github.com:renewablefunding/hancock.git","clone_url":"https://github.com/renewablefunding/hancock.git","svn_url":"https://github.com/renewablefunding/hancock","homepage":"","size":744,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/renewablefunding/hancock/pulls/8"},"html":{"href":"https://github.com/renewablefunding/hancock/pull/8"},"issue":{"href":"https://api.github.com/repos/renewablefunding/hancock/issues/8"},"comments":{"href":"https://api.github.com/repos/renewablefunding/hancock/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/renewablefunding/hancock/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/renewablefunding/hancock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/renewablefunding/hancock/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/renewablefunding/hancock/statuses/64c5a9fa217bcf8a96934cea27838f7d48b6351e"}}}}