{"action":"created","comment":{"url":"https://api.github.com/repos/adam-conway/black_thursday/pulls/comments/171149370","pull_request_review_id":99950548,"id":171149370,"diff_hunk":"@@ -189,13 +247,41 @@ def test_for_most_sold_item_for_merchant\n     assert_equal 263506360, expected[0].id\n   end\n \n+  def test_search_invoice_items_by_quantity\n+    invoice_item1 = mock('invoice_item')\n+    invoice_item1.stubs(:quantity).returns(5)\n+    invoice_item1.stubs(:id).returns(29)\n+    invoice_item2 = mock('invoice_item')\n+    invoice_item2.stubs(:quantity).returns(7)\n+    invoice_item_array = [invoice_item1, invoice_item2]\n+    actual = @sales_analyst.search_invoice_items_by_quantity(invoice_item_array, 5)","path":"test/sales_analyst_test.rb","position":123,"original_position":123,"commit_id":"3b5d0a231c02d7206b63aa6f07599f3a3b32ab16","original_commit_id":"3b5d0a231c02d7206b63aa6f07599f3a3b32ab16","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":"Line is too long. [83/80]","created_at":"2018-02-28T05:56:11Z","updated_at":"2018-02-28T05:56:12Z","html_url":"https://github.com/adam-conway/black_thursday/pull/38#discussion_r171149370","pull_request_url":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/adam-conway/black_thursday/pulls/comments/171149370"},"html":{"href":"https://github.com/adam-conway/black_thursday/pull/38#discussion_r171149370"},"pull_request":{"href":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38","id":171862765,"html_url":"https://github.com/adam-conway/black_thursday/pull/38","diff_url":"https://github.com/adam-conway/black_thursday/pull/38.diff","patch_url":"https://github.com/adam-conway/black_thursday/pull/38.patch","issue_url":"https://api.github.com/repos/adam-conway/black_thursday/issues/38","number":38,"state":"open","locked":false,"title":"Unit testing refactor","user":{"login":"hmesander","id":33385692,"avatar_url":"https://avatars0.githubusercontent.com/u/33385692?v=4","gravatar_id":"","url":"https://api.github.com/users/hmesander","html_url":"https://github.com/hmesander","followers_url":"https://api.github.com/users/hmesander/followers","following_url":"https://api.github.com/users/hmesander/following{/other_user}","gists_url":"https://api.github.com/users/hmesander/gists{/gist_id}","starred_url":"https://api.github.com/users/hmesander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmesander/subscriptions","organizations_url":"https://api.github.com/users/hmesander/orgs","repos_url":"https://api.github.com/users/hmesander/repos","events_url":"https://api.github.com/users/hmesander/events{/privacy}","received_events_url":"https://api.github.com/users/hmesander/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-28T05:55:54Z","updated_at":"2018-02-28T05:56:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"794b483f9781549e3d354798cf21c425b0e4546f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":841095093,"url":"https://api.github.com/repos/adam-conway/black_thursday/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38/commits","review_comments_url":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38/comments","review_comment_url":"https://api.github.com/repos/adam-conway/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adam-conway/black_thursday/issues/38/comments","statuses_url":"https://api.github.com/repos/adam-conway/black_thursday/statuses/3b5d0a231c02d7206b63aa6f07599f3a3b32ab16","head":{"label":"adam-conway:unit_testing_refactor","ref":"unit_testing_refactor","sha":"3b5d0a231c02d7206b63aa6f07599f3a3b32ab16","user":{"login":"adam-conway","id":7598370,"avatar_url":"https://avatars3.githubusercontent.com/u/7598370?v=4","gravatar_id":"","url":"https://api.github.com/users/adam-conway","html_url":"https://github.com/adam-conway","followers_url":"https://api.github.com/users/adam-conway/followers","following_url":"https://api.github.com/users/adam-conway/following{/other_user}","gists_url":"https://api.github.com/users/adam-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-conway/subscriptions","organizations_url":"https://api.github.com/users/adam-conway/orgs","repos_url":"https://api.github.com/users/adam-conway/repos","events_url":"https://api.github.com/users/adam-conway/events{/privacy}","received_events_url":"https://api.github.com/users/adam-conway/received_events","type":"User","site_admin":false},"repo":{"id":121990228,"name":"black_thursday","full_name":"adam-conway/black_thursday","owner":{"login":"adam-conway","id":7598370,"avatar_url":"https://avatars3.githubusercontent.com/u/7598370?v=4","gravatar_id":"","url":"https://api.github.com/users/adam-conway","html_url":"https://github.com/adam-conway","followers_url":"https://api.github.com/users/adam-conway/followers","following_url":"https://api.github.com/users/adam-conway/following{/other_user}","gists_url":"https://api.github.com/users/adam-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-conway/subscriptions","organizations_url":"https://api.github.com/users/adam-conway/orgs","repos_url":"https://api.github.com/users/adam-conway/repos","events_url":"https://api.github.com/users/adam-conway/events{/privacy}","received_events_url":"https://api.github.com/users/adam-conway/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adam-conway/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/adam-conway/black_thursday","forks_url":"https://api.github.com/repos/adam-conway/black_thursday/forks","keys_url":"https://api.github.com/repos/adam-conway/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adam-conway/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adam-conway/black_thursday/teams","hooks_url":"https://api.github.com/repos/adam-conway/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/adam-conway/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/adam-conway/black_thursday/events","assignees_url":"https://api.github.com/repos/adam-conway/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/adam-conway/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/adam-conway/black_thursday/tags","blobs_url":"https://api.github.com/repos/adam-conway/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adam-conway/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adam-conway/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/adam-conway/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adam-conway/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/adam-conway/black_thursday/languages","stargazers_url":"https://api.github.com/repos/adam-conway/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/adam-conway/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/adam-conway/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/adam-conway/black_thursday/subscription","commits_url":"https://api.github.com/repos/adam-conway/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/adam-conway/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/adam-conway/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/adam-conway/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/adam-conway/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/adam-conway/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adam-conway/black_thursday/merges","archive_url":"https://api.github.com/repos/adam-conway/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adam-conway/black_thursday/downloads","issues_url":"https://api.github.com/repos/adam-conway/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/adam-conway/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/adam-conway/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/adam-conway/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adam-conway/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/adam-conway/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/adam-conway/black_thursday/deployments","created_at":"2018-02-18T20:59:22Z","updated_at":"2018-02-18T21:05:11Z","pushed_at":"2018-02-28T05:55:55Z","git_url":"git://github.com/adam-conway/black_thursday.git","ssh_url":"git@github.com:adam-conway/black_thursday.git","clone_url":"https://github.com/adam-conway/black_thursday.git","svn_url":"https://github.com/adam-conway/black_thursday","homepage":null,"size":1935,"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":"adam-conway:master","ref":"master","sha":"d182a6c0d4421f1dc9faedef5e9a6f9dd0a49b96","user":{"login":"adam-conway","id":7598370,"avatar_url":"https://avatars3.githubusercontent.com/u/7598370?v=4","gravatar_id":"","url":"https://api.github.com/users/adam-conway","html_url":"https://github.com/adam-conway","followers_url":"https://api.github.com/users/adam-conway/followers","following_url":"https://api.github.com/users/adam-conway/following{/other_user}","gists_url":"https://api.github.com/users/adam-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-conway/subscriptions","organizations_url":"https://api.github.com/users/adam-conway/orgs","repos_url":"https://api.github.com/users/adam-conway/repos","events_url":"https://api.github.com/users/adam-conway/events{/privacy}","received_events_url":"https://api.github.com/users/adam-conway/received_events","type":"User","site_admin":false},"repo":{"id":121990228,"name":"black_thursday","full_name":"adam-conway/black_thursday","owner":{"login":"adam-conway","id":7598370,"avatar_url":"https://avatars3.githubusercontent.com/u/7598370?v=4","gravatar_id":"","url":"https://api.github.com/users/adam-conway","html_url":"https://github.com/adam-conway","followers_url":"https://api.github.com/users/adam-conway/followers","following_url":"https://api.github.com/users/adam-conway/following{/other_user}","gists_url":"https://api.github.com/users/adam-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-conway/subscriptions","organizations_url":"https://api.github.com/users/adam-conway/orgs","repos_url":"https://api.github.com/users/adam-conway/repos","events_url":"https://api.github.com/users/adam-conway/events{/privacy}","received_events_url":"https://api.github.com/users/adam-conway/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adam-conway/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/adam-conway/black_thursday","forks_url":"https://api.github.com/repos/adam-conway/black_thursday/forks","keys_url":"https://api.github.com/repos/adam-conway/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adam-conway/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adam-conway/black_thursday/teams","hooks_url":"https://api.github.com/repos/adam-conway/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/adam-conway/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/adam-conway/black_thursday/events","assignees_url":"https://api.github.com/repos/adam-conway/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/adam-conway/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/adam-conway/black_thursday/tags","blobs_url":"https://api.github.com/repos/adam-conway/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adam-conway/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adam-conway/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/adam-conway/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adam-conway/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/adam-conway/black_thursday/languages","stargazers_url":"https://api.github.com/repos/adam-conway/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/adam-conway/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/adam-conway/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/adam-conway/black_thursday/subscription","commits_url":"https://api.github.com/repos/adam-conway/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/adam-conway/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/adam-conway/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/adam-conway/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/adam-conway/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/adam-conway/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adam-conway/black_thursday/merges","archive_url":"https://api.github.com/repos/adam-conway/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adam-conway/black_thursday/downloads","issues_url":"https://api.github.com/repos/adam-conway/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/adam-conway/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/adam-conway/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/adam-conway/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adam-conway/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/adam-conway/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/adam-conway/black_thursday/deployments","created_at":"2018-02-18T20:59:22Z","updated_at":"2018-02-18T21:05:11Z","pushed_at":"2018-02-28T05:55:55Z","git_url":"git://github.com/adam-conway/black_thursday.git","ssh_url":"git@github.com:adam-conway/black_thursday.git","clone_url":"https://github.com/adam-conway/black_thursday.git","svn_url":"https://github.com/adam-conway/black_thursday","homepage":null,"size":1935,"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/adam-conway/black_thursday/pulls/38"},"html":{"href":"https://github.com/adam-conway/black_thursday/pull/38"},"issue":{"href":"https://api.github.com/repos/adam-conway/black_thursday/issues/38"},"comments":{"href":"https://api.github.com/repos/adam-conway/black_thursday/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/adam-conway/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adam-conway/black_thursday/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/adam-conway/black_thursday/statuses/3b5d0a231c02d7206b63aa6f07599f3a3b32ab16"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}