{"action":"created","comment":{"url":"https://api.github.com/repos/mstang15/black_thursday/pulls/comments/216503999","pull_request_review_id":154000313,"id":216503999,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjUwMzk5OQ==","diff_hunk":"@@ -0,0 +1,37 @@\n+require_relative './test_helper'\n+require_relative '../lib/sales_analyst'\n+require_relative '../lib/sales_engine'\n+\n+class SalesAnalystTest < Minitest::Test\n+  def test_it_exist\n+    se = SalesEngine.from_csv({\n+    :items     => \"./data/items.csv\",\n+    :merchants => \"./data/merchants.csv\",\n+    })\n+\n+    sales_analyst = SalesAnalyst.new(se)\n+    assert_instance_of SalesAnalyst, sales_analyst\n+  end\n+\n+  def test_it_has_average_item_per_merchants\n+    se = SalesEngine.from_csv({","path":"test/sales_analyst_test.rb","position":17,"original_position":17,"commit_id":"09d76ca6c831018607f536884d574300a5681914","original_commit_id":"09d76ca6c831018607f536884d574300a5681914","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","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":"Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.","created_at":"2018-09-10T23:15:47Z","updated_at":"2018-09-10T23:15:49Z","html_url":"https://github.com/mstang15/black_thursday/pull/4#discussion_r216503999","pull_request_url":"https://api.github.com/repos/mstang15/black_thursday/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mstang15/black_thursday/pulls/comments/216503999"},"html":{"href":"https://github.com/mstang15/black_thursday/pull/4#discussion_r216503999"},"pull_request":{"href":"https://api.github.com/repos/mstang15/black_thursday/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/mstang15/black_thursday/pulls/4","id":214470351,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDcwMzUx","html_url":"https://github.com/mstang15/black_thursday/pull/4","diff_url":"https://github.com/mstang15/black_thursday/pull/4.diff","patch_url":"https://github.com/mstang15/black_thursday/pull/4.patch","issue_url":"https://api.github.com/repos/mstang15/black_thursday/issues/4","number":4,"state":"closed","locked":false,"title":"Add sales analyst class and test","user":{"login":"averimj","id":33760591,"node_id":"MDQ6VXNlcjMzNzYwNTkx","avatar_url":"https://avatars1.githubusercontent.com/u/33760591?v=4","gravatar_id":"","url":"https://api.github.com/users/averimj","html_url":"https://github.com/averimj","followers_url":"https://api.github.com/users/averimj/followers","following_url":"https://api.github.com/users/averimj/following{/other_user}","gists_url":"https://api.github.com/users/averimj/gists{/gist_id}","starred_url":"https://api.github.com/users/averimj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/averimj/subscriptions","organizations_url":"https://api.github.com/users/averimj/orgs","repos_url":"https://api.github.com/users/averimj/repos","events_url":"https://api.github.com/users/averimj/events{/privacy}","received_events_url":"https://api.github.com/users/averimj/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-10T23:15:30Z","updated_at":"2018-09-10T23:15:49Z","closed_at":"2018-09-10T23:15:40Z","merged_at":"2018-09-10T23:15:40Z","merge_commit_sha":"82bb377af2a9808ce8b3a34d94bff6681a75d614","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mstang15/black_thursday/pulls/4/commits","review_comments_url":"https://api.github.com/repos/mstang15/black_thursday/pulls/4/comments","review_comment_url":"https://api.github.com/repos/mstang15/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mstang15/black_thursday/issues/4/comments","statuses_url":"https://api.github.com/repos/mstang15/black_thursday/statuses/09d76ca6c831018607f536884d574300a5681914","head":{"label":"mstang15:iteration_one","ref":"iteration_one","sha":"09d76ca6c831018607f536884d574300a5681914","user":{"login":"mstang15","id":40842258,"node_id":"MDQ6VXNlcjQwODQyMjU4","avatar_url":"https://avatars1.githubusercontent.com/u/40842258?v=4","gravatar_id":"","url":"https://api.github.com/users/mstang15","html_url":"https://github.com/mstang15","followers_url":"https://api.github.com/users/mstang15/followers","following_url":"https://api.github.com/users/mstang15/following{/other_user}","gists_url":"https://api.github.com/users/mstang15/gists{/gist_id}","starred_url":"https://api.github.com/users/mstang15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstang15/subscriptions","organizations_url":"https://api.github.com/users/mstang15/orgs","repos_url":"https://api.github.com/users/mstang15/repos","events_url":"https://api.github.com/users/mstang15/events{/privacy}","received_events_url":"https://api.github.com/users/mstang15/received_events","type":"User","site_admin":false},"repo":{"id":147866405,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjY0MDU=","name":"black_thursday","full_name":"mstang15/black_thursday","owner":{"login":"mstang15","id":40842258,"node_id":"MDQ6VXNlcjQwODQyMjU4","avatar_url":"https://avatars1.githubusercontent.com/u/40842258?v=4","gravatar_id":"","url":"https://api.github.com/users/mstang15","html_url":"https://github.com/mstang15","followers_url":"https://api.github.com/users/mstang15/followers","following_url":"https://api.github.com/users/mstang15/following{/other_user}","gists_url":"https://api.github.com/users/mstang15/gists{/gist_id}","starred_url":"https://api.github.com/users/mstang15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstang15/subscriptions","organizations_url":"https://api.github.com/users/mstang15/orgs","repos_url":"https://api.github.com/users/mstang15/repos","events_url":"https://api.github.com/users/mstang15/events{/privacy}","received_events_url":"https://api.github.com/users/mstang15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mstang15/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/mstang15/black_thursday","forks_url":"https://api.github.com/repos/mstang15/black_thursday/forks","keys_url":"https://api.github.com/repos/mstang15/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mstang15/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mstang15/black_thursday/teams","hooks_url":"https://api.github.com/repos/mstang15/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/mstang15/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/mstang15/black_thursday/events","assignees_url":"https://api.github.com/repos/mstang15/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/mstang15/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/mstang15/black_thursday/tags","blobs_url":"https://api.github.com/repos/mstang15/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mstang15/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mstang15/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/mstang15/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mstang15/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/mstang15/black_thursday/languages","stargazers_url":"https://api.github.com/repos/mstang15/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/mstang15/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/mstang15/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/mstang15/black_thursday/subscription","commits_url":"https://api.github.com/repos/mstang15/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/mstang15/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/mstang15/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/mstang15/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/mstang15/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/mstang15/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mstang15/black_thursday/merges","archive_url":"https://api.github.com/repos/mstang15/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mstang15/black_thursday/downloads","issues_url":"https://api.github.com/repos/mstang15/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/mstang15/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/mstang15/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/mstang15/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mstang15/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/mstang15/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/mstang15/black_thursday/deployments","created_at":"2018-09-07T19:30:00Z","updated_at":"2018-09-10T23:15:42Z","pushed_at":"2018-09-10T23:15:41Z","git_url":"git://github.com/mstang15/black_thursday.git","ssh_url":"git@github.com:mstang15/black_thursday.git","clone_url":"https://github.com/mstang15/black_thursday.git","svn_url":"https://github.com/mstang15/black_thursday","homepage":null,"size":1787,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mstang15:master","ref":"master","sha":"50f1b46d2e1fe4d36393c926c0c6a85f78b9dfcc","user":{"login":"mstang15","id":40842258,"node_id":"MDQ6VXNlcjQwODQyMjU4","avatar_url":"https://avatars1.githubusercontent.com/u/40842258?v=4","gravatar_id":"","url":"https://api.github.com/users/mstang15","html_url":"https://github.com/mstang15","followers_url":"https://api.github.com/users/mstang15/followers","following_url":"https://api.github.com/users/mstang15/following{/other_user}","gists_url":"https://api.github.com/users/mstang15/gists{/gist_id}","starred_url":"https://api.github.com/users/mstang15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstang15/subscriptions","organizations_url":"https://api.github.com/users/mstang15/orgs","repos_url":"https://api.github.com/users/mstang15/repos","events_url":"https://api.github.com/users/mstang15/events{/privacy}","received_events_url":"https://api.github.com/users/mstang15/received_events","type":"User","site_admin":false},"repo":{"id":147866405,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjY0MDU=","name":"black_thursday","full_name":"mstang15/black_thursday","owner":{"login":"mstang15","id":40842258,"node_id":"MDQ6VXNlcjQwODQyMjU4","avatar_url":"https://avatars1.githubusercontent.com/u/40842258?v=4","gravatar_id":"","url":"https://api.github.com/users/mstang15","html_url":"https://github.com/mstang15","followers_url":"https://api.github.com/users/mstang15/followers","following_url":"https://api.github.com/users/mstang15/following{/other_user}","gists_url":"https://api.github.com/users/mstang15/gists{/gist_id}","starred_url":"https://api.github.com/users/mstang15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstang15/subscriptions","organizations_url":"https://api.github.com/users/mstang15/orgs","repos_url":"https://api.github.com/users/mstang15/repos","events_url":"https://api.github.com/users/mstang15/events{/privacy}","received_events_url":"https://api.github.com/users/mstang15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mstang15/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/mstang15/black_thursday","forks_url":"https://api.github.com/repos/mstang15/black_thursday/forks","keys_url":"https://api.github.com/repos/mstang15/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mstang15/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mstang15/black_thursday/teams","hooks_url":"https://api.github.com/repos/mstang15/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/mstang15/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/mstang15/black_thursday/events","assignees_url":"https://api.github.com/repos/mstang15/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/mstang15/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/mstang15/black_thursday/tags","blobs_url":"https://api.github.com/repos/mstang15/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mstang15/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mstang15/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/mstang15/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mstang15/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/mstang15/black_thursday/languages","stargazers_url":"https://api.github.com/repos/mstang15/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/mstang15/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/mstang15/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/mstang15/black_thursday/subscription","commits_url":"https://api.github.com/repos/mstang15/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/mstang15/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/mstang15/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/mstang15/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/mstang15/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/mstang15/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mstang15/black_thursday/merges","archive_url":"https://api.github.com/repos/mstang15/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mstang15/black_thursday/downloads","issues_url":"https://api.github.com/repos/mstang15/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/mstang15/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/mstang15/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/mstang15/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mstang15/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/mstang15/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/mstang15/black_thursday/deployments","created_at":"2018-09-07T19:30:00Z","updated_at":"2018-09-10T23:15:42Z","pushed_at":"2018-09-10T23:15:41Z","git_url":"git://github.com/mstang15/black_thursday.git","ssh_url":"git@github.com:mstang15/black_thursday.git","clone_url":"https://github.com/mstang15/black_thursday.git","svn_url":"https://github.com/mstang15/black_thursday","homepage":null,"size":1787,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mstang15/black_thursday/pulls/4"},"html":{"href":"https://github.com/mstang15/black_thursday/pull/4"},"issue":{"href":"https://api.github.com/repos/mstang15/black_thursday/issues/4"},"comments":{"href":"https://api.github.com/repos/mstang15/black_thursday/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/mstang15/black_thursday/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/mstang15/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mstang15/black_thursday/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/mstang15/black_thursday/statuses/09d76ca6c831018607f536884d574300a5681914"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}