{"action":"created","comment":{"url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/comments/34685844","id":34685844,"diff_hunk":"@@ -133,12 +146,16 @@ describe('pushController', function () {\n       apiPlatformServiceStub.createAPIDirectory\n         .onThirdCall().returns(BPromise.resolve(thirdDirectoryResult));\n \n+      apiPlatformServiceStub.deleteAPIDirectory.onFirstCall()\n+        .returns(BPromise.resolve(secondDirToDelete));\n+      apiPlatformServiceStub.deleteAPIDirectory.onSecondCall()\n+        .returns(BPromise.resolve(firstDirToDelete));\n+\n       pushController.push()\n-        .then(function (output) {\n+        .then(function () {","path":"tests/unit/pushController.test.js","position":114,"original_position":114,"commit_id":"5ffdcc9c19ff47bfa574abf3d6779f0c6f76362e","original_commit_id":"5ffdcc9c19ff47bfa574abf3d6779f0c6f76362e","user":{"login":"fschargorosdky","id":8282140,"avatar_url":"https://avatars.githubusercontent.com/u/8282140?v=3","gravatar_id":"","url":"https://api.github.com/users/fschargorosdky","html_url":"https://github.com/fschargorosdky","followers_url":"https://api.github.com/users/fschargorosdky/followers","following_url":"https://api.github.com/users/fschargorosdky/following{/other_user}","gists_url":"https://api.github.com/users/fschargorosdky/gists{/gist_id}","starred_url":"https://api.github.com/users/fschargorosdky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fschargorosdky/subscriptions","organizations_url":"https://api.github.com/users/fschargorosdky/orgs","repos_url":"https://api.github.com/users/fschargorosdky/repos","events_url":"https://api.github.com/users/fschargorosdky/events{/privacy}","received_events_url":"https://api.github.com/users/fschargorosdky/received_events","type":"User","site_admin":false},"body":"you have to assert that the function result is the right one","created_at":"2015-07-15T14:48:04Z","updated_at":"2015-07-15T14:48:04Z","html_url":"https://github.com/mulesoft/api-sync-tool/pull/88#discussion_r34685844","pull_request_url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/comments/34685844"},"html":{"href":"https://github.com/mulesoft/api-sync-tool/pull/88#discussion_r34685844"},"pull_request":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88","id":39965762,"html_url":"https://github.com/mulesoft/api-sync-tool/pull/88","diff_url":"https://github.com/mulesoft/api-sync-tool/pull/88.diff","patch_url":"https://github.com/mulesoft/api-sync-tool/pull/88.patch","issue_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/88","number":88,"state":"open","locked":false,"title":"DEVTOOLS-66: Delete directories on push","user":{"login":"juancoen","id":1169708,"avatar_url":"https://avatars.githubusercontent.com/u/1169708?v=3","gravatar_id":"","url":"https://api.github.com/users/juancoen","html_url":"https://github.com/juancoen","followers_url":"https://api.github.com/users/juancoen/followers","following_url":"https://api.github.com/users/juancoen/following{/other_user}","gists_url":"https://api.github.com/users/juancoen/gists{/gist_id}","starred_url":"https://api.github.com/users/juancoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juancoen/subscriptions","organizations_url":"https://api.github.com/users/juancoen/orgs","repos_url":"https://api.github.com/users/juancoen/repos","events_url":"https://api.github.com/users/juancoen/events{/privacy}","received_events_url":"https://api.github.com/users/juancoen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-14T21:36:44Z","updated_at":"2015-07-15T14:48:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8055a2f6715e0c3547bb7582a02358c1aca42bf9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88/commits","review_comments_url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88/comments","review_comment_url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/88/comments","statuses_url":"https://api.github.com/repos/mulesoft/api-sync-tool/statuses/5ffdcc9c19ff47bfa574abf3d6779f0c6f76362e","head":{"label":"mulesoft:feature/DEVTOOLS-66","ref":"feature/DEVTOOLS-66","sha":"5ffdcc9c19ff47bfa574abf3d6779f0c6f76362e","user":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":36458219,"name":"api-sync-tool","full_name":"mulesoft/api-sync-tool","owner":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mulesoft/api-sync-tool","description":"Tool that synchronizes an API in API platform with local filesystem","fork":false,"url":"https://api.github.com/repos/mulesoft/api-sync-tool","forks_url":"https://api.github.com/repos/mulesoft/api-sync-tool/forks","keys_url":"https://api.github.com/repos/mulesoft/api-sync-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/api-sync-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/api-sync-tool/teams","hooks_url":"https://api.github.com/repos/mulesoft/api-sync-tool/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/api-sync-tool/events","assignees_url":"https://api.github.com/repos/mulesoft/api-sync-tool/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/api-sync-tool/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/api-sync-tool/tags","blobs_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/api-sync-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/api-sync-tool/languages","stargazers_url":"https://api.github.com/repos/mulesoft/api-sync-tool/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/api-sync-tool/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/api-sync-tool/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/api-sync-tool/subscription","commits_url":"https://api.github.com/repos/mulesoft/api-sync-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/api-sync-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/api-sync-tool/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/api-sync-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/api-sync-tool/merges","archive_url":"https://api.github.com/repos/mulesoft/api-sync-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/api-sync-tool/downloads","issues_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/api-sync-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/api-sync-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/api-sync-tool/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/api-sync-tool/releases{/id}","created_at":"2015-05-28T18:34:02Z","updated_at":"2015-07-02T18:32:02Z","pushed_at":"2015-07-15T14:35:55Z","git_url":"git://github.com/mulesoft/api-sync-tool.git","ssh_url":"git@github.com:mulesoft/api-sync-tool.git","clone_url":"https://github.com/mulesoft/api-sync-tool.git","svn_url":"https://github.com/mulesoft/api-sync-tool","homepage":null,"size":1532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mulesoft:master","ref":"master","sha":"873ed04329e35192ec1cb02b4b398590d12d465d","user":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"repo":{"id":36458219,"name":"api-sync-tool","full_name":"mulesoft/api-sync-tool","owner":{"login":"mulesoft","id":185740,"avatar_url":"https://avatars.githubusercontent.com/u/185740?v=3","gravatar_id":"","url":"https://api.github.com/users/mulesoft","html_url":"https://github.com/mulesoft","followers_url":"https://api.github.com/users/mulesoft/followers","following_url":"https://api.github.com/users/mulesoft/following{/other_user}","gists_url":"https://api.github.com/users/mulesoft/gists{/gist_id}","starred_url":"https://api.github.com/users/mulesoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mulesoft/subscriptions","organizations_url":"https://api.github.com/users/mulesoft/orgs","repos_url":"https://api.github.com/users/mulesoft/repos","events_url":"https://api.github.com/users/mulesoft/events{/privacy}","received_events_url":"https://api.github.com/users/mulesoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mulesoft/api-sync-tool","description":"Tool that synchronizes an API in API platform with local filesystem","fork":false,"url":"https://api.github.com/repos/mulesoft/api-sync-tool","forks_url":"https://api.github.com/repos/mulesoft/api-sync-tool/forks","keys_url":"https://api.github.com/repos/mulesoft/api-sync-tool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mulesoft/api-sync-tool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mulesoft/api-sync-tool/teams","hooks_url":"https://api.github.com/repos/mulesoft/api-sync-tool/hooks","issue_events_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/events{/number}","events_url":"https://api.github.com/repos/mulesoft/api-sync-tool/events","assignees_url":"https://api.github.com/repos/mulesoft/api-sync-tool/assignees{/user}","branches_url":"https://api.github.com/repos/mulesoft/api-sync-tool/branches{/branch}","tags_url":"https://api.github.com/repos/mulesoft/api-sync-tool/tags","blobs_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/refs{/sha}","trees_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mulesoft/api-sync-tool/statuses/{sha}","languages_url":"https://api.github.com/repos/mulesoft/api-sync-tool/languages","stargazers_url":"https://api.github.com/repos/mulesoft/api-sync-tool/stargazers","contributors_url":"https://api.github.com/repos/mulesoft/api-sync-tool/contributors","subscribers_url":"https://api.github.com/repos/mulesoft/api-sync-tool/subscribers","subscription_url":"https://api.github.com/repos/mulesoft/api-sync-tool/subscription","commits_url":"https://api.github.com/repos/mulesoft/api-sync-tool/commits{/sha}","git_commits_url":"https://api.github.com/repos/mulesoft/api-sync-tool/git/commits{/sha}","comments_url":"https://api.github.com/repos/mulesoft/api-sync-tool/comments{/number}","issue_comment_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/comments{/number}","contents_url":"https://api.github.com/repos/mulesoft/api-sync-tool/contents/{+path}","compare_url":"https://api.github.com/repos/mulesoft/api-sync-tool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mulesoft/api-sync-tool/merges","archive_url":"https://api.github.com/repos/mulesoft/api-sync-tool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mulesoft/api-sync-tool/downloads","issues_url":"https://api.github.com/repos/mulesoft/api-sync-tool/issues{/number}","pulls_url":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls{/number}","milestones_url":"https://api.github.com/repos/mulesoft/api-sync-tool/milestones{/number}","notifications_url":"https://api.github.com/repos/mulesoft/api-sync-tool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mulesoft/api-sync-tool/labels{/name}","releases_url":"https://api.github.com/repos/mulesoft/api-sync-tool/releases{/id}","created_at":"2015-05-28T18:34:02Z","updated_at":"2015-07-02T18:32:02Z","pushed_at":"2015-07-15T14:35:55Z","git_url":"git://github.com/mulesoft/api-sync-tool.git","ssh_url":"git@github.com:mulesoft/api-sync-tool.git","clone_url":"https://github.com/mulesoft/api-sync-tool.git","svn_url":"https://github.com/mulesoft/api-sync-tool","homepage":null,"size":1532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88"},"html":{"href":"https://github.com/mulesoft/api-sync-tool/pull/88"},"issue":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/88"},"comments":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/mulesoft/api-sync-tool/statuses/5ffdcc9c19ff47bfa574abf3d6779f0c6f76362e"}}}}