{"action":"created","comment":{"url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/comments/49128739","id":49128739,"diff_hunk":"@@ -0,0 +1,18 @@\n+var assert = require('assert');\n+var spawnSync = require('child_process').spawnSync;\n+var greeting = require('./name');\n+var should = require('chai').should();\n+\n+describe('test to check if the arguments are being processed', function(){\n+  it('should pass a argument on the command line', function(){\n+    var greet = spawnSync('node', ['greet.js', 'max']);\n+    var greetString = greet.stdout.toString();\n+    assert.deepEqual(greetString.slice(0,5), 'hello','did not get value from command line');\n+  });\n+  it('should not start with a number', function(){\n+    var greet = spawnSync('node', ['greet.js', 'foo']);\n+    var greetString = greet.stdout.toString();\n+    var notNumber = isNaN(greetString.slice(0,1));\n+    notNumber.should.equal(true);\n+  });","path":"test.js","position":17,"original_position":17,"commit_id":"59db0f7225ee6fdbcf235edc666f57fc9d458091","original_commit_id":"59db0f7225ee6fdbcf235edc666f57fc9d458091","user":{"login":"martypdx","id":478864,"avatar_url":"https://avatars.githubusercontent.com/u/478864?v=3","gravatar_id":"","url":"https://api.github.com/users/martypdx","html_url":"https://github.com/martypdx","followers_url":"https://api.github.com/users/martypdx/followers","following_url":"https://api.github.com/users/martypdx/following{/other_user}","gists_url":"https://api.github.com/users/martypdx/gists{/gist_id}","starred_url":"https://api.github.com/users/martypdx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martypdx/subscriptions","organizations_url":"https://api.github.com/users/martypdx/orgs","repos_url":"https://api.github.com/users/martypdx/repos","events_url":"https://api.github.com/users/martypdx/events{/privacy}","received_events_url":"https://api.github.com/users/martypdx/received_events","type":"User","site_admin":false},"body":"> Does that make sense or did I just make it more\r\n> confusing?\r\n\r\nmore confusing :)\r\n\r\n> Then I built on that in the second test to make sure a number\r\nwasn't a valid name.\r\n\r\nBut the input of the test doesn't have a number in it.","created_at":"2016-01-07T21:32:36Z","updated_at":"2016-01-07T21:32:36Z","html_url":"https://github.com/max33nau/testModularPatterns/pull/2#discussion_r49128739","pull_request_url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/comments/49128739"},"html":{"href":"https://github.com/max33nau/testModularPatterns/pull/2#discussion_r49128739"},"pull_request":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2","id":55156417,"html_url":"https://github.com/max33nau/testModularPatterns/pull/2","diff_url":"https://github.com/max33nau/testModularPatterns/pull/2.diff","patch_url":"https://github.com/max33nau/testModularPatterns/pull/2.patch","issue_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues/2","number":2,"state":"open","locked":false,"title":"First greet assignment","user":{"login":"max33nau","id":14729461,"avatar_url":"https://avatars.githubusercontent.com/u/14729461?v=3","gravatar_id":"","url":"https://api.github.com/users/max33nau","html_url":"https://github.com/max33nau","followers_url":"https://api.github.com/users/max33nau/followers","following_url":"https://api.github.com/users/max33nau/following{/other_user}","gists_url":"https://api.github.com/users/max33nau/gists{/gist_id}","starred_url":"https://api.github.com/users/max33nau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max33nau/subscriptions","organizations_url":"https://api.github.com/users/max33nau/orgs","repos_url":"https://api.github.com/users/max33nau/repos","events_url":"https://api.github.com/users/max33nau/events{/privacy}","received_events_url":"https://api.github.com/users/max33nau/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-05T23:09:11Z","updated_at":"2016-01-07T21:32:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f58c891268888d9c73706b7839bc69eee2e14f25","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2/commits","review_comments_url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2/comments","review_comment_url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues/2/comments","statuses_url":"https://api.github.com/repos/max33nau/testModularPatterns/statuses/59db0f7225ee6fdbcf235edc666f57fc9d458091","head":{"label":"max33nau:firstGreetAssignment","ref":"firstGreetAssignment","sha":"59db0f7225ee6fdbcf235edc666f57fc9d458091","user":{"login":"max33nau","id":14729461,"avatar_url":"https://avatars.githubusercontent.com/u/14729461?v=3","gravatar_id":"","url":"https://api.github.com/users/max33nau","html_url":"https://github.com/max33nau","followers_url":"https://api.github.com/users/max33nau/followers","following_url":"https://api.github.com/users/max33nau/following{/other_user}","gists_url":"https://api.github.com/users/max33nau/gists{/gist_id}","starred_url":"https://api.github.com/users/max33nau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max33nau/subscriptions","organizations_url":"https://api.github.com/users/max33nau/orgs","repos_url":"https://api.github.com/users/max33nau/repos","events_url":"https://api.github.com/users/max33nau/events{/privacy}","received_events_url":"https://api.github.com/users/max33nau/received_events","type":"User","site_admin":false},"repo":{"id":49031230,"name":"testModularPatterns","full_name":"max33nau/testModularPatterns","owner":{"login":"max33nau","id":14729461,"avatar_url":"https://avatars.githubusercontent.com/u/14729461?v=3","gravatar_id":"","url":"https://api.github.com/users/max33nau","html_url":"https://github.com/max33nau","followers_url":"https://api.github.com/users/max33nau/followers","following_url":"https://api.github.com/users/max33nau/following{/other_user}","gists_url":"https://api.github.com/users/max33nau/gists{/gist_id}","starred_url":"https://api.github.com/users/max33nau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max33nau/subscriptions","organizations_url":"https://api.github.com/users/max33nau/orgs","repos_url":"https://api.github.com/users/max33nau/repos","events_url":"https://api.github.com/users/max33nau/events{/privacy}","received_events_url":"https://api.github.com/users/max33nau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max33nau/testModularPatterns","description":"Learning how node.js works and tests our knowledge using a javascript object that is exported using node modular patterns","fork":false,"url":"https://api.github.com/repos/max33nau/testModularPatterns","forks_url":"https://api.github.com/repos/max33nau/testModularPatterns/forks","keys_url":"https://api.github.com/repos/max33nau/testModularPatterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max33nau/testModularPatterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max33nau/testModularPatterns/teams","hooks_url":"https://api.github.com/repos/max33nau/testModularPatterns/hooks","issue_events_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues/events{/number}","events_url":"https://api.github.com/repos/max33nau/testModularPatterns/events","assignees_url":"https://api.github.com/repos/max33nau/testModularPatterns/assignees{/user}","branches_url":"https://api.github.com/repos/max33nau/testModularPatterns/branches{/branch}","tags_url":"https://api.github.com/repos/max33nau/testModularPatterns/tags","blobs_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max33nau/testModularPatterns/statuses/{sha}","languages_url":"https://api.github.com/repos/max33nau/testModularPatterns/languages","stargazers_url":"https://api.github.com/repos/max33nau/testModularPatterns/stargazers","contributors_url":"https://api.github.com/repos/max33nau/testModularPatterns/contributors","subscribers_url":"https://api.github.com/repos/max33nau/testModularPatterns/subscribers","subscription_url":"https://api.github.com/repos/max33nau/testModularPatterns/subscription","commits_url":"https://api.github.com/repos/max33nau/testModularPatterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/max33nau/testModularPatterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/max33nau/testModularPatterns/contents/{+path}","compare_url":"https://api.github.com/repos/max33nau/testModularPatterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max33nau/testModularPatterns/merges","archive_url":"https://api.github.com/repos/max33nau/testModularPatterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max33nau/testModularPatterns/downloads","issues_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues{/number}","pulls_url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls{/number}","milestones_url":"https://api.github.com/repos/max33nau/testModularPatterns/milestones{/number}","notifications_url":"https://api.github.com/repos/max33nau/testModularPatterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max33nau/testModularPatterns/labels{/name}","releases_url":"https://api.github.com/repos/max33nau/testModularPatterns/releases{/id}","created_at":"2016-01-05T00:13:43Z","updated_at":"2016-01-05T00:13:43Z","pushed_at":"2016-01-05T23:11:50Z","git_url":"git://github.com/max33nau/testModularPatterns.git","ssh_url":"git@github.com:max33nau/testModularPatterns.git","clone_url":"https://github.com/max33nau/testModularPatterns.git","svn_url":"https://github.com/max33nau/testModularPatterns","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"max33nau:master","ref":"master","sha":"5fafdc8f4a3fa2c30c1b64bbd50458d7a366f55b","user":{"login":"max33nau","id":14729461,"avatar_url":"https://avatars.githubusercontent.com/u/14729461?v=3","gravatar_id":"","url":"https://api.github.com/users/max33nau","html_url":"https://github.com/max33nau","followers_url":"https://api.github.com/users/max33nau/followers","following_url":"https://api.github.com/users/max33nau/following{/other_user}","gists_url":"https://api.github.com/users/max33nau/gists{/gist_id}","starred_url":"https://api.github.com/users/max33nau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max33nau/subscriptions","organizations_url":"https://api.github.com/users/max33nau/orgs","repos_url":"https://api.github.com/users/max33nau/repos","events_url":"https://api.github.com/users/max33nau/events{/privacy}","received_events_url":"https://api.github.com/users/max33nau/received_events","type":"User","site_admin":false},"repo":{"id":49031230,"name":"testModularPatterns","full_name":"max33nau/testModularPatterns","owner":{"login":"max33nau","id":14729461,"avatar_url":"https://avatars.githubusercontent.com/u/14729461?v=3","gravatar_id":"","url":"https://api.github.com/users/max33nau","html_url":"https://github.com/max33nau","followers_url":"https://api.github.com/users/max33nau/followers","following_url":"https://api.github.com/users/max33nau/following{/other_user}","gists_url":"https://api.github.com/users/max33nau/gists{/gist_id}","starred_url":"https://api.github.com/users/max33nau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max33nau/subscriptions","organizations_url":"https://api.github.com/users/max33nau/orgs","repos_url":"https://api.github.com/users/max33nau/repos","events_url":"https://api.github.com/users/max33nau/events{/privacy}","received_events_url":"https://api.github.com/users/max33nau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/max33nau/testModularPatterns","description":"Learning how node.js works and tests our knowledge using a javascript object that is exported using node modular patterns","fork":false,"url":"https://api.github.com/repos/max33nau/testModularPatterns","forks_url":"https://api.github.com/repos/max33nau/testModularPatterns/forks","keys_url":"https://api.github.com/repos/max33nau/testModularPatterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/max33nau/testModularPatterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/max33nau/testModularPatterns/teams","hooks_url":"https://api.github.com/repos/max33nau/testModularPatterns/hooks","issue_events_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues/events{/number}","events_url":"https://api.github.com/repos/max33nau/testModularPatterns/events","assignees_url":"https://api.github.com/repos/max33nau/testModularPatterns/assignees{/user}","branches_url":"https://api.github.com/repos/max33nau/testModularPatterns/branches{/branch}","tags_url":"https://api.github.com/repos/max33nau/testModularPatterns/tags","blobs_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/max33nau/testModularPatterns/statuses/{sha}","languages_url":"https://api.github.com/repos/max33nau/testModularPatterns/languages","stargazers_url":"https://api.github.com/repos/max33nau/testModularPatterns/stargazers","contributors_url":"https://api.github.com/repos/max33nau/testModularPatterns/contributors","subscribers_url":"https://api.github.com/repos/max33nau/testModularPatterns/subscribers","subscription_url":"https://api.github.com/repos/max33nau/testModularPatterns/subscription","commits_url":"https://api.github.com/repos/max33nau/testModularPatterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/max33nau/testModularPatterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/max33nau/testModularPatterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/max33nau/testModularPatterns/contents/{+path}","compare_url":"https://api.github.com/repos/max33nau/testModularPatterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/max33nau/testModularPatterns/merges","archive_url":"https://api.github.com/repos/max33nau/testModularPatterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/max33nau/testModularPatterns/downloads","issues_url":"https://api.github.com/repos/max33nau/testModularPatterns/issues{/number}","pulls_url":"https://api.github.com/repos/max33nau/testModularPatterns/pulls{/number}","milestones_url":"https://api.github.com/repos/max33nau/testModularPatterns/milestones{/number}","notifications_url":"https://api.github.com/repos/max33nau/testModularPatterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/max33nau/testModularPatterns/labels{/name}","releases_url":"https://api.github.com/repos/max33nau/testModularPatterns/releases{/id}","created_at":"2016-01-05T00:13:43Z","updated_at":"2016-01-05T00:13:43Z","pushed_at":"2016-01-05T23:11:50Z","git_url":"git://github.com/max33nau/testModularPatterns.git","ssh_url":"git@github.com:max33nau/testModularPatterns.git","clone_url":"https://github.com/max33nau/testModularPatterns.git","svn_url":"https://github.com/max33nau/testModularPatterns","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2"},"html":{"href":"https://github.com/max33nau/testModularPatterns/pull/2"},"issue":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/issues/2"},"comments":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/max33nau/testModularPatterns/statuses/59db0f7225ee6fdbcf235edc666f57fc9d458091"}}}}