{"action":"created","comment":{"url":"https://api.github.com/repos/Originate/mycha/pulls/comments/52210655","id":52210655,"diff_hunk":"@@ -5,7 +5,45 @@ Feature: Installation\n   So that I can start testing without repetitive setup work.\n \n \n-  Scenario: fresh install\n+  Scenario: install with a .js test helper\n+    Given I am working on a Node.js project\n+    When I run \"mycha install\" and enter \"spec/spec_helper.js\"\n+    Then my \"package.json\" now lists the devDependencies\n+      | NPM MODULE |\n+      | chai       |\n+      | sinon      |\n+      | sinon-chai |\n+    And my project now has a file \"spec/spec_helper.js\" containing\n+      \"\"\"\n+      var chai = require('chai');\n+      var sinon = require('sinon');\n+      chai.use(require('sinon-chai'));\n+\n+      global.chai = chai;\n+      global.expect = chai.expect;\n+      global.sinon = sinon;\n+\n+      process.env.NODE_ENV = 'test';","path":"features/install.feature","position":23,"original_position":23,"commit_id":"c6fabde640e595305056187e68a74a154d1a32bf","original_commit_id":"c6fabde640e595305056187e68a74a154d1a32bf","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":"I think its best to move this to set this as early as possible, i.e. move this to the first line in the file.","created_at":"2016-02-08T19:11:47Z","updated_at":"2016-02-08T19:11:47Z","html_url":"https://github.com/Originate/mycha/pull/71#discussion_r52210655","pull_request_url":"https://api.github.com/repos/Originate/mycha/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/Originate/mycha/pulls/comments/52210655"},"html":{"href":"https://github.com/Originate/mycha/pull/71#discussion_r52210655"},"pull_request":{"href":"https://api.github.com/repos/Originate/mycha/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/Originate/mycha/pulls/71","id":58534877,"html_url":"https://github.com/Originate/mycha/pull/71","diff_url":"https://github.com/Originate/mycha/pull/71.diff","patch_url":"https://github.com/Originate/mycha/pull/71.patch","issue_url":"https://api.github.com/repos/Originate/mycha/issues/71","number":71,"state":"open","locked":false,"title":"add javascript and livescript support","user":{"login":"charlierudolph","id":1676758,"avatar_url":"https://avatars.githubusercontent.com/u/1676758?v=3","gravatar_id":"","url":"https://api.github.com/users/charlierudolph","html_url":"https://github.com/charlierudolph","followers_url":"https://api.github.com/users/charlierudolph/followers","following_url":"https://api.github.com/users/charlierudolph/following{/other_user}","gists_url":"https://api.github.com/users/charlierudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/charlierudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlierudolph/subscriptions","organizations_url":"https://api.github.com/users/charlierudolph/orgs","repos_url":"https://api.github.com/users/charlierudolph/repos","events_url":"https://api.github.com/users/charlierudolph/events{/privacy}","received_events_url":"https://api.github.com/users/charlierudolph/received_events","type":"User","site_admin":false},"body":"@alexdavid @kevgo \r\n\r\nConverted the tests to js since that is the base case. \r\nRestructured coffee-script support and added livescript support.\r\nTried to make it easy to add support for other languages\r\n\r\nresolves #69","created_at":"2016-02-07T00:33:29Z","updated_at":"2016-02-08T19:11:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25e85f11bc27133ee98d622a67b9361ebad20b20","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Originate/mycha/pulls/71/commits","review_comments_url":"https://api.github.com/repos/Originate/mycha/pulls/71/comments","review_comment_url":"https://api.github.com/repos/Originate/mycha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Originate/mycha/issues/71/comments","statuses_url":"https://api.github.com/repos/Originate/mycha/statuses/c6fabde640e595305056187e68a74a154d1a32bf","head":{"label":"Originate:cr-jsSupport","ref":"cr-jsSupport","sha":"c6fabde640e595305056187e68a74a154d1a32bf","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":9158178,"name":"mycha","full_name":"Originate/mycha","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/mycha","description":"Painless testing setup for Node.JS using Mocha, Chai, and Sinon.js","fork":false,"url":"https://api.github.com/repos/Originate/mycha","forks_url":"https://api.github.com/repos/Originate/mycha/forks","keys_url":"https://api.github.com/repos/Originate/mycha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/mycha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/mycha/teams","hooks_url":"https://api.github.com/repos/Originate/mycha/hooks","issue_events_url":"https://api.github.com/repos/Originate/mycha/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/mycha/events","assignees_url":"https://api.github.com/repos/Originate/mycha/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/mycha/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/mycha/tags","blobs_url":"https://api.github.com/repos/Originate/mycha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/mycha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/mycha/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/mycha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/mycha/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/mycha/languages","stargazers_url":"https://api.github.com/repos/Originate/mycha/stargazers","contributors_url":"https://api.github.com/repos/Originate/mycha/contributors","subscribers_url":"https://api.github.com/repos/Originate/mycha/subscribers","subscription_url":"https://api.github.com/repos/Originate/mycha/subscription","commits_url":"https://api.github.com/repos/Originate/mycha/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/mycha/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/mycha/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/mycha/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/mycha/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/mycha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/mycha/merges","archive_url":"https://api.github.com/repos/Originate/mycha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/mycha/downloads","issues_url":"https://api.github.com/repos/Originate/mycha/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/mycha/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/mycha/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/mycha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/mycha/labels{/name}","releases_url":"https://api.github.com/repos/Originate/mycha/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/mycha/deployments","created_at":"2013-04-01T23:18:50Z","updated_at":"2016-02-06T22:32:49Z","pushed_at":"2016-02-07T01:10:18Z","git_url":"git://github.com/Originate/mycha.git","ssh_url":"git@github.com:Originate/mycha.git","clone_url":"https://github.com/Originate/mycha.git","svn_url":"https://github.com/Originate/mycha","homepage":null,"size":252,"stargazers_count":5,"watchers_count":5,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":5,"default_branch":"master"}},"base":{"label":"Originate:master","ref":"master","sha":"8856aad72ebb147998277e2f4d956747d9dd855b","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":9158178,"name":"mycha","full_name":"Originate/mycha","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/mycha","description":"Painless testing setup for Node.JS using Mocha, Chai, and Sinon.js","fork":false,"url":"https://api.github.com/repos/Originate/mycha","forks_url":"https://api.github.com/repos/Originate/mycha/forks","keys_url":"https://api.github.com/repos/Originate/mycha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/mycha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/mycha/teams","hooks_url":"https://api.github.com/repos/Originate/mycha/hooks","issue_events_url":"https://api.github.com/repos/Originate/mycha/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/mycha/events","assignees_url":"https://api.github.com/repos/Originate/mycha/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/mycha/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/mycha/tags","blobs_url":"https://api.github.com/repos/Originate/mycha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/mycha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/mycha/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/mycha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/mycha/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/mycha/languages","stargazers_url":"https://api.github.com/repos/Originate/mycha/stargazers","contributors_url":"https://api.github.com/repos/Originate/mycha/contributors","subscribers_url":"https://api.github.com/repos/Originate/mycha/subscribers","subscription_url":"https://api.github.com/repos/Originate/mycha/subscription","commits_url":"https://api.github.com/repos/Originate/mycha/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/mycha/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/mycha/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/mycha/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/mycha/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/mycha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/mycha/merges","archive_url":"https://api.github.com/repos/Originate/mycha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/mycha/downloads","issues_url":"https://api.github.com/repos/Originate/mycha/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/mycha/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/mycha/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/mycha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/mycha/labels{/name}","releases_url":"https://api.github.com/repos/Originate/mycha/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/mycha/deployments","created_at":"2013-04-01T23:18:50Z","updated_at":"2016-02-06T22:32:49Z","pushed_at":"2016-02-07T01:10:18Z","git_url":"git://github.com/Originate/mycha.git","ssh_url":"git@github.com:Originate/mycha.git","clone_url":"https://github.com/Originate/mycha.git","svn_url":"https://github.com/Originate/mycha","homepage":null,"size":252,"stargazers_count":5,"watchers_count":5,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/mycha/pulls/71"},"html":{"href":"https://github.com/Originate/mycha/pull/71"},"issue":{"href":"https://api.github.com/repos/Originate/mycha/issues/71"},"comments":{"href":"https://api.github.com/repos/Originate/mycha/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/mycha/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/mycha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Originate/mycha/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/mycha/statuses/c6fabde640e595305056187e68a74a154d1a32bf"}}}}