{"action":"created","comment":{"url":"https://api.github.com/repos/anon0mys/black_thursday/pulls/comments/169507533","pull_request_review_id":98044768,"id":169507533,"diff_hunk":"@@ -0,0 +1,48 @@\n+require './test/test_helper'\n+require './test/fixtures/mock_sales_engine'\n+require './lib/sales_analyst'\n+\n+class SalesAnalystTest < Minitest::Test\n+  def setup\n+    sales_eng = MockSalesEngine.new\n+    @sa       = SalesAnalyst.new(sales_eng)\n+  end\n+\n+  def test_sales_analyst_class_exists\n+    assert_instance_of SalesAnalyst, @sa\n+  end\n+\n+  def test_average_items_per_merchant\n+    skip\n+    assert_equal 2.88, @sa.average_items_per_merchant\n+  end\n+\n+  def test_average_items_per_merchant_standard_deviation\n+    skip\n+    actual = @sa.average_items_per_merchant_standard_deviation\n+    assert_equal 3.26, actual\n+  end\n+\n+  def test_merchants_with_high_item_count\n+    skip\n+    actual = @sa.merchants_with_high_item_count\n+  # [merchant, merchant, merchant]\n+  end\n+\n+  def test_average_item_price_for_merchant\n+    skip\n+    actual = @sa.average_item_price_for_merchant(12334159)\n+  #  # => BigDecimal\n+  end\n+\n+  def test_average_average_price_per_merchant\n+    skip\n+    actual = @sa.average_average_price_per_merchant\n+  #  # => BigDecimal","path":"test/sales_analyst_test.rb","position":41,"original_position":41,"commit_id":"972c8db08df0795f3217cbe59d693a09f6375ad9","original_commit_id":"972c8db08df0795f3217cbe59d693a09f6375ad9","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":"Incorrect indentation detected (column 2 instead of 4).","created_at":"2018-02-21T00:50:59Z","updated_at":"2018-02-21T00:51:00Z","html_url":"https://github.com/anon0mys/black_thursday/pull/18#discussion_r169507533","pull_request_url":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/anon0mys/black_thursday/pulls/comments/169507533"},"html":{"href":"https://github.com/anon0mys/black_thursday/pull/18#discussion_r169507533"},"pull_request":{"href":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18","id":170350165,"html_url":"https://github.com/anon0mys/black_thursday/pull/18","diff_url":"https://github.com/anon0mys/black_thursday/pull/18.diff","patch_url":"https://github.com/anon0mys/black_thursday/pull/18.patch","issue_url":"https://api.github.com/repos/anon0mys/black_thursday/issues/18","number":18,"state":"open","locked":false,"title":"Salesanalyst","user":{"login":"Vadlusk","id":31285268,"avatar_url":"https://avatars0.githubusercontent.com/u/31285268?v=4","gravatar_id":"","url":"https://api.github.com/users/Vadlusk","html_url":"https://github.com/Vadlusk","followers_url":"https://api.github.com/users/Vadlusk/followers","following_url":"https://api.github.com/users/Vadlusk/following{/other_user}","gists_url":"https://api.github.com/users/Vadlusk/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadlusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadlusk/subscriptions","organizations_url":"https://api.github.com/users/Vadlusk/orgs","repos_url":"https://api.github.com/users/Vadlusk/repos","events_url":"https://api.github.com/users/Vadlusk/events{/privacy}","received_events_url":"https://api.github.com/users/Vadlusk/received_events","type":"User","site_admin":false},"body":"Made some changes to pass both rspec and our unit tests.","created_at":"2018-02-21T00:50:50Z","updated_at":"2018-02-21T00:51:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ad27e50ed720829ec72e4fd76fd89272e42bc57","assignee":{"login":"Vadlusk","id":31285268,"avatar_url":"https://avatars0.githubusercontent.com/u/31285268?v=4","gravatar_id":"","url":"https://api.github.com/users/Vadlusk","html_url":"https://github.com/Vadlusk","followers_url":"https://api.github.com/users/Vadlusk/followers","following_url":"https://api.github.com/users/Vadlusk/following{/other_user}","gists_url":"https://api.github.com/users/Vadlusk/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadlusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadlusk/subscriptions","organizations_url":"https://api.github.com/users/Vadlusk/orgs","repos_url":"https://api.github.com/users/Vadlusk/repos","events_url":"https://api.github.com/users/Vadlusk/events{/privacy}","received_events_url":"https://api.github.com/users/Vadlusk/received_events","type":"User","site_admin":false},"assignees":[{"login":"Vadlusk","id":31285268,"avatar_url":"https://avatars0.githubusercontent.com/u/31285268?v=4","gravatar_id":"","url":"https://api.github.com/users/Vadlusk","html_url":"https://github.com/Vadlusk","followers_url":"https://api.github.com/users/Vadlusk/followers","following_url":"https://api.github.com/users/Vadlusk/following{/other_user}","gists_url":"https://api.github.com/users/Vadlusk/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadlusk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadlusk/subscriptions","organizations_url":"https://api.github.com/users/Vadlusk/orgs","repos_url":"https://api.github.com/users/Vadlusk/repos","events_url":"https://api.github.com/users/Vadlusk/events{/privacy}","received_events_url":"https://api.github.com/users/Vadlusk/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":842513539,"url":"https://api.github.com/repos/anon0mys/black_thursday/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18/commits","review_comments_url":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18/comments","review_comment_url":"https://api.github.com/repos/anon0mys/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anon0mys/black_thursday/issues/18/comments","statuses_url":"https://api.github.com/repos/anon0mys/black_thursday/statuses/972c8db08df0795f3217cbe59d693a09f6375ad9","head":{"label":"anon0mys:salesanalyst","ref":"salesanalyst","sha":"972c8db08df0795f3217cbe59d693a09f6375ad9","user":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"repo":{"id":121810565,"name":"black_thursday","full_name":"anon0mys/black_thursday","owner":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anon0mys/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/anon0mys/black_thursday","forks_url":"https://api.github.com/repos/anon0mys/black_thursday/forks","keys_url":"https://api.github.com/repos/anon0mys/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anon0mys/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anon0mys/black_thursday/teams","hooks_url":"https://api.github.com/repos/anon0mys/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/anon0mys/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/anon0mys/black_thursday/events","assignees_url":"https://api.github.com/repos/anon0mys/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/anon0mys/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/anon0mys/black_thursday/tags","blobs_url":"https://api.github.com/repos/anon0mys/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anon0mys/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anon0mys/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/anon0mys/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anon0mys/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/anon0mys/black_thursday/languages","stargazers_url":"https://api.github.com/repos/anon0mys/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/anon0mys/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/anon0mys/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/anon0mys/black_thursday/subscription","commits_url":"https://api.github.com/repos/anon0mys/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/anon0mys/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/anon0mys/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/anon0mys/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/anon0mys/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/anon0mys/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anon0mys/black_thursday/merges","archive_url":"https://api.github.com/repos/anon0mys/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anon0mys/black_thursday/downloads","issues_url":"https://api.github.com/repos/anon0mys/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/anon0mys/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/anon0mys/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/anon0mys/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anon0mys/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/anon0mys/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/anon0mys/black_thursday/deployments","created_at":"2018-02-16T23:08:22Z","updated_at":"2018-02-19T21:05:38Z","pushed_at":"2018-02-21T00:50:51Z","git_url":"git://github.com/anon0mys/black_thursday.git","ssh_url":"git@github.com:anon0mys/black_thursday.git","clone_url":"https://github.com/anon0mys/black_thursday.git","svn_url":"https://github.com/anon0mys/black_thursday","homepage":null,"size":1827,"stargazers_count":1,"watchers_count":1,"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":8,"license":null,"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"base":{"label":"anon0mys:master","ref":"master","sha":"3bfe11953cbbdbcdcf46de0c6cdff337b3cc6ee4","user":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"repo":{"id":121810565,"name":"black_thursday","full_name":"anon0mys/black_thursday","owner":{"login":"anon0mys","id":34108893,"avatar_url":"https://avatars2.githubusercontent.com/u/34108893?v=4","gravatar_id":"","url":"https://api.github.com/users/anon0mys","html_url":"https://github.com/anon0mys","followers_url":"https://api.github.com/users/anon0mys/followers","following_url":"https://api.github.com/users/anon0mys/following{/other_user}","gists_url":"https://api.github.com/users/anon0mys/gists{/gist_id}","starred_url":"https://api.github.com/users/anon0mys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anon0mys/subscriptions","organizations_url":"https://api.github.com/users/anon0mys/orgs","repos_url":"https://api.github.com/users/anon0mys/repos","events_url":"https://api.github.com/users/anon0mys/events{/privacy}","received_events_url":"https://api.github.com/users/anon0mys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anon0mys/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/anon0mys/black_thursday","forks_url":"https://api.github.com/repos/anon0mys/black_thursday/forks","keys_url":"https://api.github.com/repos/anon0mys/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anon0mys/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anon0mys/black_thursday/teams","hooks_url":"https://api.github.com/repos/anon0mys/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/anon0mys/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/anon0mys/black_thursday/events","assignees_url":"https://api.github.com/repos/anon0mys/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/anon0mys/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/anon0mys/black_thursday/tags","blobs_url":"https://api.github.com/repos/anon0mys/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anon0mys/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anon0mys/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/anon0mys/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anon0mys/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/anon0mys/black_thursday/languages","stargazers_url":"https://api.github.com/repos/anon0mys/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/anon0mys/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/anon0mys/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/anon0mys/black_thursday/subscription","commits_url":"https://api.github.com/repos/anon0mys/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/anon0mys/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/anon0mys/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/anon0mys/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/anon0mys/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/anon0mys/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anon0mys/black_thursday/merges","archive_url":"https://api.github.com/repos/anon0mys/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anon0mys/black_thursday/downloads","issues_url":"https://api.github.com/repos/anon0mys/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/anon0mys/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/anon0mys/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/anon0mys/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anon0mys/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/anon0mys/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/anon0mys/black_thursday/deployments","created_at":"2018-02-16T23:08:22Z","updated_at":"2018-02-19T21:05:38Z","pushed_at":"2018-02-21T00:50:51Z","git_url":"git://github.com/anon0mys/black_thursday.git","ssh_url":"git@github.com:anon0mys/black_thursday.git","clone_url":"https://github.com/anon0mys/black_thursday.git","svn_url":"https://github.com/anon0mys/black_thursday","homepage":null,"size":1827,"stargazers_count":1,"watchers_count":1,"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":8,"license":null,"forks":0,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18"},"html":{"href":"https://github.com/anon0mys/black_thursday/pull/18"},"issue":{"href":"https://api.github.com/repos/anon0mys/black_thursday/issues/18"},"comments":{"href":"https://api.github.com/repos/anon0mys/black_thursday/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/anon0mys/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anon0mys/black_thursday/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/anon0mys/black_thursday/statuses/972c8db08df0795f3217cbe59d693a09f6375ad9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}