{"action":"created","comment":{"url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/comments/168647286","pull_request_review_id":97051869,"id":168647286,"diff_hunk":"@@ -52,11 +36,48 @@ def test_word_search_request_rejects_weird_words\n   end\n \n   def test_word_search_request_finds_actual_words\n-    response = Faraday.get \"http://127.0.0.1:9292/word_search?word=overfactious\"\n-    word = \"overfactious\"\n+    response = Faraday.get \"http://127.0.0.1:9292/word_search?word=Overfactious\"\n+    word = \"Overfactious\".downcase\n     assert response.body.include?(\"#{word} is a known word\")\n     response = Faraday.get \"http://127.0.0.1:9292/word_search?word=subdorsal\"\n     word2 = \"subdorsal\"\n     assert response.body.include?(\"#{word2} is a known word\")\n   end\n+\n+  def test_post_to_start_game\n+    response = Faraday.post \"http://127.0.0.1:9292/start_game\"\n+    assert response.body.include?(\"Good luck!\")\n+  end\n+\n+  def test_get_game_returns_guess_count_if_no_guesses\n+    Faraday.post \"http://127.0.0.1:9292/start_game\"\n+    response = Faraday.get \"http://127.0.0.1:9292/game\"\n+    assert response.body.include?(\"Guess count: 0\")\n+  end\n+\n+  def test_post_guess_to_game\n+    Faraday.post \"http://127.0.0.1:9292/start_game\"\n+    Faraday.post \"http://127.0.0.1:9292/game\", { 'guess' => '50' }\n+    response = Faraday.get \"http://127.0.0.1:9292/game\"\n+    assert response.body.include?(\"Guess count: 1\")\n+  end\n+\n+  def test_display_last_guess_in_game\n+    Faraday.post \"http://127.0.0.1:9292/start_game\"\n+    Faraday.post \"http://127.0.0.1:9292/game\", { 'guess' => '50' }","path":"test/server_test.rb","position":80,"original_position":80,"commit_id":"69584312cb661e5c562c6e2d98dc35cbc3e7b280","original_commit_id":"69584312cb661e5c562c6e2d98dc35cbc3e7b280","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.<br>Redundant curly braces around a hash parameter.","created_at":"2018-02-16T00:13:44Z","updated_at":"2018-02-16T00:13:45Z","html_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801/pull/2#discussion_r168647286","pull_request_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/comments/168647286"},"html":{"href":"https://github.com/ssciolist/http-yeah-you-know-me-1801/pull/2#discussion_r168647286"},"pull_request":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2","id":169520784,"html_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801/pull/2","diff_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801/pull/2.diff","patch_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801/pull/2.patch","issue_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/2","number":2,"state":"open","locked":false,"title":"It4","user":{"login":"ssciolist","id":5290130,"avatar_url":"https://avatars1.githubusercontent.com/u/5290130?v=4","gravatar_id":"","url":"https://api.github.com/users/ssciolist","html_url":"https://github.com/ssciolist","followers_url":"https://api.github.com/users/ssciolist/followers","following_url":"https://api.github.com/users/ssciolist/following{/other_user}","gists_url":"https://api.github.com/users/ssciolist/gists{/gist_id}","starred_url":"https://api.github.com/users/ssciolist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssciolist/subscriptions","organizations_url":"https://api.github.com/users/ssciolist/orgs","repos_url":"https://api.github.com/users/ssciolist/repos","events_url":"https://api.github.com/users/ssciolist/events{/privacy}","received_events_url":"https://api.github.com/users/ssciolist/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-16T00:13:28Z","updated_at":"2018-02-16T00:13:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad2d24e76f321ef3514358b9ea28655b45a04414","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/2/comments","statuses_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/statuses/69584312cb661e5c562c6e2d98dc35cbc3e7b280","head":{"label":"ssciolist:it4","ref":"it4","sha":"69584312cb661e5c562c6e2d98dc35cbc3e7b280","user":{"login":"ssciolist","id":5290130,"avatar_url":"https://avatars1.githubusercontent.com/u/5290130?v=4","gravatar_id":"","url":"https://api.github.com/users/ssciolist","html_url":"https://github.com/ssciolist","followers_url":"https://api.github.com/users/ssciolist/followers","following_url":"https://api.github.com/users/ssciolist/following{/other_user}","gists_url":"https://api.github.com/users/ssciolist/gists{/gist_id}","starred_url":"https://api.github.com/users/ssciolist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssciolist/subscriptions","organizations_url":"https://api.github.com/users/ssciolist/orgs","repos_url":"https://api.github.com/users/ssciolist/repos","events_url":"https://api.github.com/users/ssciolist/events{/privacy}","received_events_url":"https://api.github.com/users/ssciolist/received_events","type":"User","site_admin":false},"repo":{"id":121040373,"name":"http-yeah-you-know-me-1801","full_name":"ssciolist/http-yeah-you-know-me-1801","owner":{"login":"ssciolist","id":5290130,"avatar_url":"https://avatars1.githubusercontent.com/u/5290130?v=4","gravatar_id":"","url":"https://api.github.com/users/ssciolist","html_url":"https://github.com/ssciolist","followers_url":"https://api.github.com/users/ssciolist/followers","following_url":"https://api.github.com/users/ssciolist/following{/other_user}","gists_url":"https://api.github.com/users/ssciolist/gists{/gist_id}","starred_url":"https://api.github.com/users/ssciolist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssciolist/subscriptions","organizations_url":"https://api.github.com/users/ssciolist/orgs","repos_url":"https://api.github.com/users/ssciolist/repos","events_url":"https://api.github.com/users/ssciolist/events{/privacy}","received_events_url":"https://api.github.com/users/ssciolist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801","description":"Turing backend mod1 week 4 project","fork":false,"url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801","forks_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/forks","keys_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/teams","hooks_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/hooks","issue_events_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/events{/number}","events_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/events","assignees_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/assignees{/user}","branches_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/branches{/branch}","tags_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/tags","blobs_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/statuses/{sha}","languages_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/languages","stargazers_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/stargazers","contributors_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/contributors","subscribers_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/subscribers","subscription_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/subscription","commits_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/contents/{+path}","compare_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/merges","archive_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/downloads","issues_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues{/number}","pulls_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls{/number}","milestones_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/milestones{/number}","notifications_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/labels{/name}","releases_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/releases{/id}","deployments_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/deployments","created_at":"2018-02-10T18:05:49Z","updated_at":"2018-02-10T18:33:24Z","pushed_at":"2018-02-16T00:13:28Z","git_url":"git://github.com/ssciolist/http-yeah-you-know-me-1801.git","ssh_url":"git@github.com:ssciolist/http-yeah-you-know-me-1801.git","clone_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801.git","svn_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801","homepage":null,"size":18,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ssciolist:master","ref":"master","sha":"d9dfd13511eda87f2ac2ed334e0748bb3e9243d4","user":{"login":"ssciolist","id":5290130,"avatar_url":"https://avatars1.githubusercontent.com/u/5290130?v=4","gravatar_id":"","url":"https://api.github.com/users/ssciolist","html_url":"https://github.com/ssciolist","followers_url":"https://api.github.com/users/ssciolist/followers","following_url":"https://api.github.com/users/ssciolist/following{/other_user}","gists_url":"https://api.github.com/users/ssciolist/gists{/gist_id}","starred_url":"https://api.github.com/users/ssciolist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssciolist/subscriptions","organizations_url":"https://api.github.com/users/ssciolist/orgs","repos_url":"https://api.github.com/users/ssciolist/repos","events_url":"https://api.github.com/users/ssciolist/events{/privacy}","received_events_url":"https://api.github.com/users/ssciolist/received_events","type":"User","site_admin":false},"repo":{"id":121040373,"name":"http-yeah-you-know-me-1801","full_name":"ssciolist/http-yeah-you-know-me-1801","owner":{"login":"ssciolist","id":5290130,"avatar_url":"https://avatars1.githubusercontent.com/u/5290130?v=4","gravatar_id":"","url":"https://api.github.com/users/ssciolist","html_url":"https://github.com/ssciolist","followers_url":"https://api.github.com/users/ssciolist/followers","following_url":"https://api.github.com/users/ssciolist/following{/other_user}","gists_url":"https://api.github.com/users/ssciolist/gists{/gist_id}","starred_url":"https://api.github.com/users/ssciolist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssciolist/subscriptions","organizations_url":"https://api.github.com/users/ssciolist/orgs","repos_url":"https://api.github.com/users/ssciolist/repos","events_url":"https://api.github.com/users/ssciolist/events{/privacy}","received_events_url":"https://api.github.com/users/ssciolist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801","description":"Turing backend mod1 week 4 project","fork":false,"url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801","forks_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/forks","keys_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/teams","hooks_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/hooks","issue_events_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/events{/number}","events_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/events","assignees_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/assignees{/user}","branches_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/branches{/branch}","tags_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/tags","blobs_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/statuses/{sha}","languages_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/languages","stargazers_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/stargazers","contributors_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/contributors","subscribers_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/subscribers","subscription_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/subscription","commits_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/contents/{+path}","compare_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/merges","archive_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/downloads","issues_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues{/number}","pulls_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls{/number}","milestones_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/milestones{/number}","notifications_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/labels{/name}","releases_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/releases{/id}","deployments_url":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/deployments","created_at":"2018-02-10T18:05:49Z","updated_at":"2018-02-10T18:33:24Z","pushed_at":"2018-02-16T00:13:28Z","git_url":"git://github.com/ssciolist/http-yeah-you-know-me-1801.git","ssh_url":"git@github.com:ssciolist/http-yeah-you-know-me-1801.git","clone_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801.git","svn_url":"https://github.com/ssciolist/http-yeah-you-know-me-1801","homepage":null,"size":18,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2"},"html":{"href":"https://github.com/ssciolist/http-yeah-you-know-me-1801/pull/2"},"issue":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/2"},"comments":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ssciolist/http-yeah-you-know-me-1801/statuses/69584312cb661e5c562c6e2d98dc35cbc3e7b280"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}