{"action":"created","comment":{"url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/comments/177564071","pull_request_review_id":107457916,"id":177564071,"diff_hunk":"@@ -14,4 +14,36 @@ def test_it_exists\n     assert_instance_of Node, @node\n   end\n \n+  def test_node_can_contain_one_child_node\n+    @node.children[\"a\"] = Node.new\n+    assert_instance_of Node, @node.children[\"a\"]\n+  end\n+\n+  def test_node_can_have_nultiple_child_nodes\n+    @node.children[\"a\"] = Node.new\n+    @node.children[\"j\"] = Node.new\n+    @node.children[\"l\"] = Node.new\n+    @node.children[\"z\"] = Node.new\n+    assert_instance_of Node, @node.children[\"a\"]\n+    assert_instance_of Node, @node.children[\"j\"]\n+    assert_instance_of Node, @node.children[\"l\"]\n+    assert_instance_of Node, @node.children[\"z\"]\n+  end\n+\n+  def test_node_can_have_no_children\n+    assert_equal ({}), @node.children\n+  end\n+\n+  def test_node_can_be_flagged\n+    @node.children[\"b\"] = Node.new\n+    @node.children[\"b\"].children[\"e\"] = Node.new","path":"complete_me/test/node_test.rb","position":26,"original_position":26,"commit_id":"cf7cde621df093c9fe439f9f83bf605360b29277","original_commit_id":"cf7cde621df093c9fe439f9f83bf605360b29277","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2018-03-27T20:37:16Z","updated_at":"2018-03-27T20:37:17Z","html_url":"https://github.com/jude-lawson/complete-me-project/pull/24#discussion_r177564071","pull_request_url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/comments/177564071"},"html":{"href":"https://github.com/jude-lawson/complete-me-project/pull/24#discussion_r177564071"},"pull_request":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24","id":177858102,"html_url":"https://github.com/jude-lawson/complete-me-project/pull/24","diff_url":"https://github.com/jude-lawson/complete-me-project/pull/24.diff","patch_url":"https://github.com/jude-lawson/complete-me-project/pull/24.patch","issue_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/24","number":24,"state":"open","locked":false,"title":"Adding sinatra","user":{"login":"jude-lawson","id":29493291,"avatar_url":"https://avatars1.githubusercontent.com/u/29493291?v=4","gravatar_id":"","url":"https://api.github.com/users/jude-lawson","html_url":"https://github.com/jude-lawson","followers_url":"https://api.github.com/users/jude-lawson/followers","following_url":"https://api.github.com/users/jude-lawson/following{/other_user}","gists_url":"https://api.github.com/users/jude-lawson/gists{/gist_id}","starred_url":"https://api.github.com/users/jude-lawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jude-lawson/subscriptions","organizations_url":"https://api.github.com/users/jude-lawson/orgs","repos_url":"https://api.github.com/users/jude-lawson/repos","events_url":"https://api.github.com/users/jude-lawson/events{/privacy}","received_events_url":"https://api.github.com/users/jude-lawson/received_events","type":"User","site_admin":false},"body":"Adds in frontend using Sinatra micro-framework. No styles yet.","created_at":"2018-03-27T20:37:06Z","updated_at":"2018-03-27T20:37:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9ff836da9444fc66467a9ac612bb24fe5eaceab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24/commits","review_comments_url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24/comments","review_comment_url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/24/comments","statuses_url":"https://api.github.com/repos/jude-lawson/complete-me-project/statuses/cf7cde621df093c9fe439f9f83bf605360b29277","head":{"label":"jude-lawson:adding-sinatra","ref":"adding-sinatra","sha":"cf7cde621df093c9fe439f9f83bf605360b29277","user":{"login":"jude-lawson","id":29493291,"avatar_url":"https://avatars1.githubusercontent.com/u/29493291?v=4","gravatar_id":"","url":"https://api.github.com/users/jude-lawson","html_url":"https://github.com/jude-lawson","followers_url":"https://api.github.com/users/jude-lawson/followers","following_url":"https://api.github.com/users/jude-lawson/following{/other_user}","gists_url":"https://api.github.com/users/jude-lawson/gists{/gist_id}","starred_url":"https://api.github.com/users/jude-lawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jude-lawson/subscriptions","organizations_url":"https://api.github.com/users/jude-lawson/orgs","repos_url":"https://api.github.com/users/jude-lawson/repos","events_url":"https://api.github.com/users/jude-lawson/events{/privacy}","received_events_url":"https://api.github.com/users/jude-lawson/received_events","type":"User","site_admin":false},"repo":{"id":126529430,"name":"complete-me-project","full_name":"jude-lawson/complete-me-project","owner":{"login":"jude-lawson","id":29493291,"avatar_url":"https://avatars1.githubusercontent.com/u/29493291?v=4","gravatar_id":"","url":"https://api.github.com/users/jude-lawson","html_url":"https://github.com/jude-lawson","followers_url":"https://api.github.com/users/jude-lawson/followers","following_url":"https://api.github.com/users/jude-lawson/following{/other_user}","gists_url":"https://api.github.com/users/jude-lawson/gists{/gist_id}","starred_url":"https://api.github.com/users/jude-lawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jude-lawson/subscriptions","organizations_url":"https://api.github.com/users/jude-lawson/orgs","repos_url":"https://api.github.com/users/jude-lawson/repos","events_url":"https://api.github.com/users/jude-lawson/events{/privacy}","received_events_url":"https://api.github.com/users/jude-lawson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jude-lawson/complete-me-project","description":"Turing BEE Module 1 Project Autocomplete Interface","fork":false,"url":"https://api.github.com/repos/jude-lawson/complete-me-project","forks_url":"https://api.github.com/repos/jude-lawson/complete-me-project/forks","keys_url":"https://api.github.com/repos/jude-lawson/complete-me-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jude-lawson/complete-me-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jude-lawson/complete-me-project/teams","hooks_url":"https://api.github.com/repos/jude-lawson/complete-me-project/hooks","issue_events_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/events{/number}","events_url":"https://api.github.com/repos/jude-lawson/complete-me-project/events","assignees_url":"https://api.github.com/repos/jude-lawson/complete-me-project/assignees{/user}","branches_url":"https://api.github.com/repos/jude-lawson/complete-me-project/branches{/branch}","tags_url":"https://api.github.com/repos/jude-lawson/complete-me-project/tags","blobs_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jude-lawson/complete-me-project/statuses/{sha}","languages_url":"https://api.github.com/repos/jude-lawson/complete-me-project/languages","stargazers_url":"https://api.github.com/repos/jude-lawson/complete-me-project/stargazers","contributors_url":"https://api.github.com/repos/jude-lawson/complete-me-project/contributors","subscribers_url":"https://api.github.com/repos/jude-lawson/complete-me-project/subscribers","subscription_url":"https://api.github.com/repos/jude-lawson/complete-me-project/subscription","commits_url":"https://api.github.com/repos/jude-lawson/complete-me-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/jude-lawson/complete-me-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/jude-lawson/complete-me-project/contents/{+path}","compare_url":"https://api.github.com/repos/jude-lawson/complete-me-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jude-lawson/complete-me-project/merges","archive_url":"https://api.github.com/repos/jude-lawson/complete-me-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jude-lawson/complete-me-project/downloads","issues_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues{/number}","pulls_url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls{/number}","milestones_url":"https://api.github.com/repos/jude-lawson/complete-me-project/milestones{/number}","notifications_url":"https://api.github.com/repos/jude-lawson/complete-me-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jude-lawson/complete-me-project/labels{/name}","releases_url":"https://api.github.com/repos/jude-lawson/complete-me-project/releases{/id}","deployments_url":"https://api.github.com/repos/jude-lawson/complete-me-project/deployments","created_at":"2018-03-23T19:16:20Z","updated_at":"2018-03-27T12:10:28Z","pushed_at":"2018-03-27T20:37:07Z","git_url":"git://github.com/jude-lawson/complete-me-project.git","ssh_url":"git@github.com:jude-lawson/complete-me-project.git","clone_url":"https://github.com/jude-lawson/complete-me-project.git","svn_url":"https://github.com/jude-lawson/complete-me-project","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"jude-lawson:master","ref":"master","sha":"0f7484962912daed6bab912dabd6b97ae2f37772","user":{"login":"jude-lawson","id":29493291,"avatar_url":"https://avatars1.githubusercontent.com/u/29493291?v=4","gravatar_id":"","url":"https://api.github.com/users/jude-lawson","html_url":"https://github.com/jude-lawson","followers_url":"https://api.github.com/users/jude-lawson/followers","following_url":"https://api.github.com/users/jude-lawson/following{/other_user}","gists_url":"https://api.github.com/users/jude-lawson/gists{/gist_id}","starred_url":"https://api.github.com/users/jude-lawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jude-lawson/subscriptions","organizations_url":"https://api.github.com/users/jude-lawson/orgs","repos_url":"https://api.github.com/users/jude-lawson/repos","events_url":"https://api.github.com/users/jude-lawson/events{/privacy}","received_events_url":"https://api.github.com/users/jude-lawson/received_events","type":"User","site_admin":false},"repo":{"id":126529430,"name":"complete-me-project","full_name":"jude-lawson/complete-me-project","owner":{"login":"jude-lawson","id":29493291,"avatar_url":"https://avatars1.githubusercontent.com/u/29493291?v=4","gravatar_id":"","url":"https://api.github.com/users/jude-lawson","html_url":"https://github.com/jude-lawson","followers_url":"https://api.github.com/users/jude-lawson/followers","following_url":"https://api.github.com/users/jude-lawson/following{/other_user}","gists_url":"https://api.github.com/users/jude-lawson/gists{/gist_id}","starred_url":"https://api.github.com/users/jude-lawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jude-lawson/subscriptions","organizations_url":"https://api.github.com/users/jude-lawson/orgs","repos_url":"https://api.github.com/users/jude-lawson/repos","events_url":"https://api.github.com/users/jude-lawson/events{/privacy}","received_events_url":"https://api.github.com/users/jude-lawson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jude-lawson/complete-me-project","description":"Turing BEE Module 1 Project Autocomplete Interface","fork":false,"url":"https://api.github.com/repos/jude-lawson/complete-me-project","forks_url":"https://api.github.com/repos/jude-lawson/complete-me-project/forks","keys_url":"https://api.github.com/repos/jude-lawson/complete-me-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jude-lawson/complete-me-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jude-lawson/complete-me-project/teams","hooks_url":"https://api.github.com/repos/jude-lawson/complete-me-project/hooks","issue_events_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/events{/number}","events_url":"https://api.github.com/repos/jude-lawson/complete-me-project/events","assignees_url":"https://api.github.com/repos/jude-lawson/complete-me-project/assignees{/user}","branches_url":"https://api.github.com/repos/jude-lawson/complete-me-project/branches{/branch}","tags_url":"https://api.github.com/repos/jude-lawson/complete-me-project/tags","blobs_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jude-lawson/complete-me-project/statuses/{sha}","languages_url":"https://api.github.com/repos/jude-lawson/complete-me-project/languages","stargazers_url":"https://api.github.com/repos/jude-lawson/complete-me-project/stargazers","contributors_url":"https://api.github.com/repos/jude-lawson/complete-me-project/contributors","subscribers_url":"https://api.github.com/repos/jude-lawson/complete-me-project/subscribers","subscription_url":"https://api.github.com/repos/jude-lawson/complete-me-project/subscription","commits_url":"https://api.github.com/repos/jude-lawson/complete-me-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/jude-lawson/complete-me-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/jude-lawson/complete-me-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/jude-lawson/complete-me-project/contents/{+path}","compare_url":"https://api.github.com/repos/jude-lawson/complete-me-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jude-lawson/complete-me-project/merges","archive_url":"https://api.github.com/repos/jude-lawson/complete-me-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jude-lawson/complete-me-project/downloads","issues_url":"https://api.github.com/repos/jude-lawson/complete-me-project/issues{/number}","pulls_url":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls{/number}","milestones_url":"https://api.github.com/repos/jude-lawson/complete-me-project/milestones{/number}","notifications_url":"https://api.github.com/repos/jude-lawson/complete-me-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jude-lawson/complete-me-project/labels{/name}","releases_url":"https://api.github.com/repos/jude-lawson/complete-me-project/releases{/id}","deployments_url":"https://api.github.com/repos/jude-lawson/complete-me-project/deployments","created_at":"2018-03-23T19:16:20Z","updated_at":"2018-03-27T12:10:28Z","pushed_at":"2018-03-27T20:37:07Z","git_url":"git://github.com/jude-lawson/complete-me-project.git","ssh_url":"git@github.com:jude-lawson/complete-me-project.git","clone_url":"https://github.com/jude-lawson/complete-me-project.git","svn_url":"https://github.com/jude-lawson/complete-me-project","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24"},"html":{"href":"https://github.com/jude-lawson/complete-me-project/pull/24"},"issue":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/24"},"comments":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/jude-lawson/complete-me-project/statuses/cf7cde621df093c9fe439f9f83bf605360b29277"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}