{"action":"closed","number":6650,"pull_request":{"url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6650","id":64410076,"html_url":"https://github.com/TryGhost/Ghost/pull/6650","diff_url":"https://github.com/TryGhost/Ghost/pull/6650.diff","patch_url":"https://github.com/TryGhost/Ghost/pull/6650.patch","issue_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6650","number":6650,"state":"closed","locked":false,"title":"Remove method stubs from upload API tests","user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"body":"* Removes all the stubbed methods from the storage and fs modules so that the upload API can run real tests.\r\n* Creates a temporary file (the uploaded file) and a temporary \"images\" directory (the destination) for testing.","created_at":"2016-03-29T03:45:44Z","updated_at":"2016-03-29T13:23:26Z","closed_at":"2016-03-29T13:23:26Z","merged_at":"2016-03-29T13:23:26Z","merge_commit_sha":"5bd30ef1832e01a9ceecde4e391c4f25fb5fbecf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6650/commits","review_comments_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/6650/comments","review_comment_url":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/issues/6650/comments","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/bdcb25a0cd338698c5b40aae4e61cb48208bc628","head":{"label":"jaswilli:upload-test","ref":"upload-test","sha":"bdcb25a0cd338698c5b40aae4e61cb48208bc628","user":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"repo":{"id":17843863,"name":"Ghost","full_name":"jaswilli/Ghost","owner":{"login":"jaswilli","id":214142,"avatar_url":"https://avatars.githubusercontent.com/u/214142?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswilli","html_url":"https://github.com/jaswilli","followers_url":"https://api.github.com/users/jaswilli/followers","following_url":"https://api.github.com/users/jaswilli/following{/other_user}","gists_url":"https://api.github.com/users/jaswilli/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswilli/subscriptions","organizations_url":"https://api.github.com/users/jaswilli/orgs","repos_url":"https://api.github.com/users/jaswilli/repos","events_url":"https://api.github.com/users/jaswilli/events{/privacy}","received_events_url":"https://api.github.com/users/jaswilli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaswilli/Ghost","description":"Just a blogging platform","fork":true,"url":"https://api.github.com/repos/jaswilli/Ghost","forks_url":"https://api.github.com/repos/jaswilli/Ghost/forks","keys_url":"https://api.github.com/repos/jaswilli/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaswilli/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaswilli/Ghost/teams","hooks_url":"https://api.github.com/repos/jaswilli/Ghost/hooks","issue_events_url":"https://api.github.com/repos/jaswilli/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/jaswilli/Ghost/events","assignees_url":"https://api.github.com/repos/jaswilli/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/jaswilli/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/jaswilli/Ghost/tags","blobs_url":"https://api.github.com/repos/jaswilli/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaswilli/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaswilli/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaswilli/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaswilli/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/jaswilli/Ghost/languages","stargazers_url":"https://api.github.com/repos/jaswilli/Ghost/stargazers","contributors_url":"https://api.github.com/repos/jaswilli/Ghost/contributors","subscribers_url":"https://api.github.com/repos/jaswilli/Ghost/subscribers","subscription_url":"https://api.github.com/repos/jaswilli/Ghost/subscription","commits_url":"https://api.github.com/repos/jaswilli/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaswilli/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaswilli/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaswilli/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaswilli/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/jaswilli/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaswilli/Ghost/merges","archive_url":"https://api.github.com/repos/jaswilli/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaswilli/Ghost/downloads","issues_url":"https://api.github.com/repos/jaswilli/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/jaswilli/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/jaswilli/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/jaswilli/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaswilli/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/jaswilli/Ghost/releases{/id}","deployments_url":"https://api.github.com/repos/jaswilli/Ghost/deployments","created_at":"2014-03-17T21:23:46Z","updated_at":"2016-02-06T20:06:33Z","pushed_at":"2016-03-29T04:02:32Z","git_url":"git://github.com/jaswilli/Ghost.git","ssh_url":"git@github.com:jaswilli/Ghost.git","clone_url":"https://github.com/jaswilli/Ghost.git","svn_url":"https://github.com/jaswilli/Ghost","homepage":"https://ghost.org","size":18924,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TryGhost:master","ref":"master","sha":"dd64deb75b565ed35ab9f9c585c136d9a2c88aa8","user":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"repo":{"id":9852918,"name":"Ghost","full_name":"TryGhost/Ghost","owner":{"login":"TryGhost","id":2178663,"avatar_url":"https://avatars.githubusercontent.com/u/2178663?v=3","gravatar_id":"","url":"https://api.github.com/users/TryGhost","html_url":"https://github.com/TryGhost","followers_url":"https://api.github.com/users/TryGhost/followers","following_url":"https://api.github.com/users/TryGhost/following{/other_user}","gists_url":"https://api.github.com/users/TryGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/TryGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TryGhost/subscriptions","organizations_url":"https://api.github.com/users/TryGhost/orgs","repos_url":"https://api.github.com/users/TryGhost/repos","events_url":"https://api.github.com/users/TryGhost/events{/privacy}","received_events_url":"https://api.github.com/users/TryGhost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TryGhost/Ghost","description":"Just a blogging platform","fork":false,"url":"https://api.github.com/repos/TryGhost/Ghost","forks_url":"https://api.github.com/repos/TryGhost/Ghost/forks","keys_url":"https://api.github.com/repos/TryGhost/Ghost/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TryGhost/Ghost/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TryGhost/Ghost/teams","hooks_url":"https://api.github.com/repos/TryGhost/Ghost/hooks","issue_events_url":"https://api.github.com/repos/TryGhost/Ghost/issues/events{/number}","events_url":"https://api.github.com/repos/TryGhost/Ghost/events","assignees_url":"https://api.github.com/repos/TryGhost/Ghost/assignees{/user}","branches_url":"https://api.github.com/repos/TryGhost/Ghost/branches{/branch}","tags_url":"https://api.github.com/repos/TryGhost/Ghost/tags","blobs_url":"https://api.github.com/repos/TryGhost/Ghost/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TryGhost/Ghost/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TryGhost/Ghost/git/refs{/sha}","trees_url":"https://api.github.com/repos/TryGhost/Ghost/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TryGhost/Ghost/statuses/{sha}","languages_url":"https://api.github.com/repos/TryGhost/Ghost/languages","stargazers_url":"https://api.github.com/repos/TryGhost/Ghost/stargazers","contributors_url":"https://api.github.com/repos/TryGhost/Ghost/contributors","subscribers_url":"https://api.github.com/repos/TryGhost/Ghost/subscribers","subscription_url":"https://api.github.com/repos/TryGhost/Ghost/subscription","commits_url":"https://api.github.com/repos/TryGhost/Ghost/commits{/sha}","git_commits_url":"https://api.github.com/repos/TryGhost/Ghost/git/commits{/sha}","comments_url":"https://api.github.com/repos/TryGhost/Ghost/comments{/number}","issue_comment_url":"https://api.github.com/repos/TryGhost/Ghost/issues/comments{/number}","contents_url":"https://api.github.com/repos/TryGhost/Ghost/contents/{+path}","compare_url":"https://api.github.com/repos/TryGhost/Ghost/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TryGhost/Ghost/merges","archive_url":"https://api.github.com/repos/TryGhost/Ghost/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TryGhost/Ghost/downloads","issues_url":"https://api.github.com/repos/TryGhost/Ghost/issues{/number}","pulls_url":"https://api.github.com/repos/TryGhost/Ghost/pulls{/number}","milestones_url":"https://api.github.com/repos/TryGhost/Ghost/milestones{/number}","notifications_url":"https://api.github.com/repos/TryGhost/Ghost/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TryGhost/Ghost/labels{/name}","releases_url":"https://api.github.com/repos/TryGhost/Ghost/releases{/id}","deployments_url":"https://api.github.com/repos/TryGhost/Ghost/deployments","created_at":"2013-05-04T11:09:13Z","updated_at":"2016-03-29T11:13:42Z","pushed_at":"2016-03-29T13:23:26Z","git_url":"git://github.com/TryGhost/Ghost.git","ssh_url":"git@github.com:TryGhost/Ghost.git","clone_url":"https://github.com/TryGhost/Ghost.git","svn_url":"https://github.com/TryGhost/Ghost","homepage":"https://ghost.org","size":49621,"stargazers_count":18952,"watchers_count":18952,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4664,"mirror_url":null,"open_issues_count":217,"forks":4664,"open_issues":217,"watchers":18952,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/6650"},"html":{"href":"https://github.com/TryGhost/Ghost/pull/6650"},"issue":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/6650"},"comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/issues/6650/comments"},"review_comments":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/6650/comments"},"review_comment":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TryGhost/Ghost/pulls/6650/commits"},"statuses":{"href":"https://api.github.com/repos/TryGhost/Ghost/statuses/bdcb25a0cd338698c5b40aae4e61cb48208bc628"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":135,"deletions":78,"changed_files":2}}