{"action":"created","comment":{"url":"https://api.github.com/repos/Originate/exocom-dev/pulls/comments/86788765","pull_request_review_id":7426732,"id":86788765,"diff_hunk":"@@ -45,26 +45,47 @@ describe 'WebSocket', ->\n \n   describe '_translate', (...) ->\n \n-    before-each ->\n-      @exocom-websocket = new WebSocketSubsystem\n+    before-each (done) ->\n+      @exocom = new ExoCom\n+        ..listen 3001\n+        ..on 'websocket-bound', ~>\n+          @mock-websocket = new WebSocket \"ws://localhost:3001/services\"\n+      @exocom-websocket = @exocom.websocket\n+      wait-until (~> @mock-websocket), 1, ~>\n+        @mock-websocket.on 'open', done\n+\n+    after-each ->\n+      @exocom.close!\n \n     it 'translates the given message to the internal format of the given sender', ->\n       service =\n         name: 'tweets'\n         internal-namespace: 'text-snippets'\n-      result = @exocom-websocket._translate 'tweets.create', for: service\n-      expect(result).to.eql 'text-snippets.create'\n+      message-data =","path":"src/websocket-subsystem/websocket-subsystem-spec.ls","position":24,"original_position":24,"commit_id":"d6aabce9242027322cd967b6af1e6a1f404e2cc5","original_commit_id":"d6aabce9242027322cd967b6af1e6a1f404e2cc5","user":{"login":"kevgo","id":268934,"avatar_url":"https://avatars.githubusercontent.com/u/268934?v=3","gravatar_id":"","url":"https://api.github.com/users/kevgo","html_url":"https://github.com/kevgo","followers_url":"https://api.github.com/users/kevgo/followers","following_url":"https://api.github.com/users/kevgo/following{/other_user}","gists_url":"https://api.github.com/users/kevgo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevgo/subscriptions","organizations_url":"https://api.github.com/users/kevgo/orgs","repos_url":"https://api.github.com/users/kevgo/repos","events_url":"https://api.github.com/users/kevgo/events{/privacy}","received_events_url":"https://api.github.com/users/kevgo/received_events","type":"User","site_admin":false},"body":"Inline this variable, it is used only once and pretty short.","created_at":"2016-11-07T14:46:06Z","updated_at":"2016-11-07T14:54:20Z","html_url":"https://github.com/Originate/exocom-dev/pull/26#discussion_r86788765","pull_request_url":"https://api.github.com/repos/Originate/exocom-dev/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/Originate/exocom-dev/pulls/comments/86788765"},"html":{"href":"https://github.com/Originate/exocom-dev/pull/26#discussion_r86788765"},"pull_request":{"href":"https://api.github.com/repos/Originate/exocom-dev/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/Originate/exocom-dev/pulls/26","id":91703851,"html_url":"https://github.com/Originate/exocom-dev/pull/26","diff_url":"https://github.com/Originate/exocom-dev/pull/26.diff","patch_url":"https://github.com/Originate/exocom-dev/pull/26.patch","issue_url":"https://api.github.com/repos/Originate/exocom-dev/issues/26","number":26,"state":"open","locked":false,"title":"Remove private method in Mocha tests","user":{"login":"hugobho","id":7258240,"avatar_url":"https://avatars.githubusercontent.com/u/7258240?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobho","html_url":"https://github.com/hugobho","followers_url":"https://api.github.com/users/hugobho/followers","following_url":"https://api.github.com/users/hugobho/following{/other_user}","gists_url":"https://api.github.com/users/hugobho/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobho/subscriptions","organizations_url":"https://api.github.com/users/hugobho/orgs","repos_url":"https://api.github.com/users/hugobho/repos","events_url":"https://api.github.com/users/hugobho/events{/privacy}","received_events_url":"https://api.github.com/users/hugobho/received_events","type":"User","site_admin":false},"body":"@kevgo ","created_at":"2016-10-31T22:36:27Z","updated_at":"2016-11-07T14:54:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e9a7967b93e7aa3505076bce67eac554eeff259","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Originate/exocom-dev/pulls/26/commits","review_comments_url":"https://api.github.com/repos/Originate/exocom-dev/pulls/26/comments","review_comment_url":"https://api.github.com/repos/Originate/exocom-dev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Originate/exocom-dev/issues/26/comments","statuses_url":"https://api.github.com/repos/Originate/exocom-dev/statuses/d6aabce9242027322cd967b6af1e6a1f404e2cc5","head":{"label":"Originate:hh-remove-private-access","ref":"hh-remove-private-access","sha":"d6aabce9242027322cd967b6af1e6a1f404e2cc5","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":49577948,"name":"exocom-dev","full_name":"Originate/exocom-dev","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/exocom-dev","description":"Development version of the Exosphere communication platform","fork":false,"url":"https://api.github.com/repos/Originate/exocom-dev","forks_url":"https://api.github.com/repos/Originate/exocom-dev/forks","keys_url":"https://api.github.com/repos/Originate/exocom-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/exocom-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/exocom-dev/teams","hooks_url":"https://api.github.com/repos/Originate/exocom-dev/hooks","issue_events_url":"https://api.github.com/repos/Originate/exocom-dev/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/exocom-dev/events","assignees_url":"https://api.github.com/repos/Originate/exocom-dev/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/exocom-dev/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/exocom-dev/tags","blobs_url":"https://api.github.com/repos/Originate/exocom-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/exocom-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/exocom-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/exocom-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/exocom-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/exocom-dev/languages","stargazers_url":"https://api.github.com/repos/Originate/exocom-dev/stargazers","contributors_url":"https://api.github.com/repos/Originate/exocom-dev/contributors","subscribers_url":"https://api.github.com/repos/Originate/exocom-dev/subscribers","subscription_url":"https://api.github.com/repos/Originate/exocom-dev/subscription","commits_url":"https://api.github.com/repos/Originate/exocom-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/exocom-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/exocom-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/exocom-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/exocom-dev/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/exocom-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/exocom-dev/merges","archive_url":"https://api.github.com/repos/Originate/exocom-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/exocom-dev/downloads","issues_url":"https://api.github.com/repos/Originate/exocom-dev/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/exocom-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/exocom-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/exocom-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/exocom-dev/labels{/name}","releases_url":"https://api.github.com/repos/Originate/exocom-dev/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/exocom-dev/deployments","created_at":"2016-01-13T14:13:10Z","updated_at":"2016-10-29T21:53:58Z","pushed_at":"2016-11-04T23:13:31Z","git_url":"git://github.com/Originate/exocom-dev.git","ssh_url":"git@github.com:Originate/exocom-dev.git","clone_url":"https://github.com/Originate/exocom-dev.git","svn_url":"https://github.com/Originate/exocom-dev","homepage":null,"size":442,"stargazers_count":2,"watchers_count":2,"language":"LiveScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"Originate:master","ref":"master","sha":"0a8c72834c0fce4dd0cd1d2fe8a5fce7e1b97e73","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":49577948,"name":"exocom-dev","full_name":"Originate/exocom-dev","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/exocom-dev","description":"Development version of the Exosphere communication platform","fork":false,"url":"https://api.github.com/repos/Originate/exocom-dev","forks_url":"https://api.github.com/repos/Originate/exocom-dev/forks","keys_url":"https://api.github.com/repos/Originate/exocom-dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/exocom-dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/exocom-dev/teams","hooks_url":"https://api.github.com/repos/Originate/exocom-dev/hooks","issue_events_url":"https://api.github.com/repos/Originate/exocom-dev/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/exocom-dev/events","assignees_url":"https://api.github.com/repos/Originate/exocom-dev/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/exocom-dev/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/exocom-dev/tags","blobs_url":"https://api.github.com/repos/Originate/exocom-dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/exocom-dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/exocom-dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/exocom-dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/exocom-dev/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/exocom-dev/languages","stargazers_url":"https://api.github.com/repos/Originate/exocom-dev/stargazers","contributors_url":"https://api.github.com/repos/Originate/exocom-dev/contributors","subscribers_url":"https://api.github.com/repos/Originate/exocom-dev/subscribers","subscription_url":"https://api.github.com/repos/Originate/exocom-dev/subscription","commits_url":"https://api.github.com/repos/Originate/exocom-dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/exocom-dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/exocom-dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/exocom-dev/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/exocom-dev/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/exocom-dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/exocom-dev/merges","archive_url":"https://api.github.com/repos/Originate/exocom-dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/exocom-dev/downloads","issues_url":"https://api.github.com/repos/Originate/exocom-dev/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/exocom-dev/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/exocom-dev/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/exocom-dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/exocom-dev/labels{/name}","releases_url":"https://api.github.com/repos/Originate/exocom-dev/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/exocom-dev/deployments","created_at":"2016-01-13T14:13:10Z","updated_at":"2016-10-29T21:53:58Z","pushed_at":"2016-11-04T23:13:31Z","git_url":"git://github.com/Originate/exocom-dev.git","ssh_url":"git@github.com:Originate/exocom-dev.git","clone_url":"https://github.com/Originate/exocom-dev.git","svn_url":"https://github.com/Originate/exocom-dev","homepage":null,"size":442,"stargazers_count":2,"watchers_count":2,"language":"LiveScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/exocom-dev/pulls/26"},"html":{"href":"https://github.com/Originate/exocom-dev/pull/26"},"issue":{"href":"https://api.github.com/repos/Originate/exocom-dev/issues/26"},"comments":{"href":"https://api.github.com/repos/Originate/exocom-dev/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/exocom-dev/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/exocom-dev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Originate/exocom-dev/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/exocom-dev/statuses/d6aabce9242027322cd967b6af1e6a1f404e2cc5"}}}}
{"actor":{"display_login":"kevgo"}}