{"action":"created","comment":{"url":"https://api.github.com/repos/amypetrie/black_thursday/pulls/comments/218884446","pull_request_review_id":156923481,"id":218884446,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODg4NDQ0Ng==","diff_hunk":"@@ -99,31 +99,31 @@ def test_create_creates_new_instance_of_item\n       :transactions => \"./data/transactions.csv\"\n     })\n \n-    attributes = {id: 500, created_at: \"2018-09-08\", updated_at: 5}\n+    attributes = {id: 500, result: \"success\", created_at: \"2018-09-08\", updated_at: 5}\n     expected_1 = 4986\n-    expected_2 = Time.now\n+    expected_2 = \"success\"\n     assert_equal expected_1, se.transactions.create(attributes).id\n-    assert_equal expected_2, se.transactions.create(attributes).updated_at\n+    assert_equal expected_2, se.transactions.create(attributes).result\n   end\n \n   def test_update_will_update_cc_number_cc_expiration_date_result_and_updated_at\n     se = SalesEngine.from_csv({\n       :transactions => \"./data/transactions.csv\"\n     })\n-\n-    id = 4378423\n+    tr = se.transactions\n+    id = 3957\n+    obj = tr.find_by_id(id)\n     attributes = {credit_card_number: 5005934823, credit_card_expiration_date: 0220, result: \"success\"}\n-\n-    assert_equal 5005934823, se.items.update(id, attributes).credit_card_number\n-    assert_equal 0220, se.items.update(id, attributes).credit_card_expiration_date\n-    assert_equal 10, se.items.update(id, attributes).result\n+    tr.update(id,attributes)","path":"test/transaction_repository_test.rb","position":28,"original_position":28,"commit_id":"e85cbcc335e1dee4d4d0324a75c682ddacdd83cb","original_commit_id":"e85cbcc335e1dee4d4d0324a75c682ddacdd83cb","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":"Layout/SpaceAfterComma: Space missing after comma.","created_at":"2018-09-19T16:59:16Z","updated_at":"2018-09-19T16:59:19Z","html_url":"https://github.com/amypetrie/black_thursday/pull/26#discussion_r218884446","pull_request_url":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/amypetrie/black_thursday/pulls/comments/218884446"},"html":{"href":"https://github.com/amypetrie/black_thursday/pull/26#discussion_r218884446"},"pull_request":{"href":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26","id":216710144,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzEwMTQ0","html_url":"https://github.com/amypetrie/black_thursday/pull/26","diff_url":"https://github.com/amypetrie/black_thursday/pull/26.diff","patch_url":"https://github.com/amypetrie/black_thursday/pull/26.patch","issue_url":"https://api.github.com/repos/amypetrie/black_thursday/issues/26","number":26,"state":"open","locked":false,"title":"Added some tests","user":{"login":"amypetrie","id":37280041,"node_id":"MDQ6VXNlcjM3MjgwMDQx","avatar_url":"https://avatars0.githubusercontent.com/u/37280041?v=4","gravatar_id":"","url":"https://api.github.com/users/amypetrie","html_url":"https://github.com/amypetrie","followers_url":"https://api.github.com/users/amypetrie/followers","following_url":"https://api.github.com/users/amypetrie/following{/other_user}","gists_url":"https://api.github.com/users/amypetrie/gists{/gist_id}","starred_url":"https://api.github.com/users/amypetrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amypetrie/subscriptions","organizations_url":"https://api.github.com/users/amypetrie/orgs","repos_url":"https://api.github.com/users/amypetrie/repos","events_url":"https://api.github.com/users/amypetrie/events{/privacy}","received_events_url":"https://api.github.com/users/amypetrie/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-19T16:59:01Z","updated_at":"2018-09-19T16:59:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26/commits","review_comments_url":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26/comments","review_comment_url":"https://api.github.com/repos/amypetrie/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amypetrie/black_thursday/issues/26/comments","statuses_url":"https://api.github.com/repos/amypetrie/black_thursday/statuses/e85cbcc335e1dee4d4d0324a75c682ddacdd83cb","head":{"label":"amypetrie:new_mod","ref":"new_mod","sha":"e85cbcc335e1dee4d4d0324a75c682ddacdd83cb","user":{"login":"amypetrie","id":37280041,"node_id":"MDQ6VXNlcjM3MjgwMDQx","avatar_url":"https://avatars0.githubusercontent.com/u/37280041?v=4","gravatar_id":"","url":"https://api.github.com/users/amypetrie","html_url":"https://github.com/amypetrie","followers_url":"https://api.github.com/users/amypetrie/followers","following_url":"https://api.github.com/users/amypetrie/following{/other_user}","gists_url":"https://api.github.com/users/amypetrie/gists{/gist_id}","starred_url":"https://api.github.com/users/amypetrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amypetrie/subscriptions","organizations_url":"https://api.github.com/users/amypetrie/orgs","repos_url":"https://api.github.com/users/amypetrie/repos","events_url":"https://api.github.com/users/amypetrie/events{/privacy}","received_events_url":"https://api.github.com/users/amypetrie/received_events","type":"User","site_admin":false},"repo":{"id":147949147,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NDkxNDc=","name":"black_thursday","full_name":"amypetrie/black_thursday","private":false,"owner":{"login":"amypetrie","id":37280041,"node_id":"MDQ6VXNlcjM3MjgwMDQx","avatar_url":"https://avatars0.githubusercontent.com/u/37280041?v=4","gravatar_id":"","url":"https://api.github.com/users/amypetrie","html_url":"https://github.com/amypetrie","followers_url":"https://api.github.com/users/amypetrie/followers","following_url":"https://api.github.com/users/amypetrie/following{/other_user}","gists_url":"https://api.github.com/users/amypetrie/gists{/gist_id}","starred_url":"https://api.github.com/users/amypetrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amypetrie/subscriptions","organizations_url":"https://api.github.com/users/amypetrie/orgs","repos_url":"https://api.github.com/users/amypetrie/repos","events_url":"https://api.github.com/users/amypetrie/events{/privacy}","received_events_url":"https://api.github.com/users/amypetrie/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amypetrie/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/amypetrie/black_thursday","forks_url":"https://api.github.com/repos/amypetrie/black_thursday/forks","keys_url":"https://api.github.com/repos/amypetrie/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amypetrie/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amypetrie/black_thursday/teams","hooks_url":"https://api.github.com/repos/amypetrie/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/amypetrie/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/amypetrie/black_thursday/events","assignees_url":"https://api.github.com/repos/amypetrie/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/amypetrie/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/amypetrie/black_thursday/tags","blobs_url":"https://api.github.com/repos/amypetrie/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amypetrie/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amypetrie/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/amypetrie/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amypetrie/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/amypetrie/black_thursday/languages","stargazers_url":"https://api.github.com/repos/amypetrie/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/amypetrie/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/amypetrie/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/amypetrie/black_thursday/subscription","commits_url":"https://api.github.com/repos/amypetrie/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/amypetrie/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/amypetrie/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/amypetrie/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/amypetrie/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/amypetrie/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amypetrie/black_thursday/merges","archive_url":"https://api.github.com/repos/amypetrie/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amypetrie/black_thursday/downloads","issues_url":"https://api.github.com/repos/amypetrie/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/amypetrie/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/amypetrie/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/amypetrie/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amypetrie/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/amypetrie/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/amypetrie/black_thursday/deployments","created_at":"2018-09-08T16:11:49Z","updated_at":"2018-09-19T15:39:41Z","pushed_at":"2018-09-19T16:59:01Z","git_url":"git://github.com/amypetrie/black_thursday.git","ssh_url":"git@github.com:amypetrie/black_thursday.git","clone_url":"https://github.com/amypetrie/black_thursday.git","svn_url":"https://github.com/amypetrie/black_thursday","homepage":null,"size":1877,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"amypetrie:testing_coverage","ref":"testing_coverage","sha":"07294c10c811214f78b1c6f35b847b479414b821","user":{"login":"amypetrie","id":37280041,"node_id":"MDQ6VXNlcjM3MjgwMDQx","avatar_url":"https://avatars0.githubusercontent.com/u/37280041?v=4","gravatar_id":"","url":"https://api.github.com/users/amypetrie","html_url":"https://github.com/amypetrie","followers_url":"https://api.github.com/users/amypetrie/followers","following_url":"https://api.github.com/users/amypetrie/following{/other_user}","gists_url":"https://api.github.com/users/amypetrie/gists{/gist_id}","starred_url":"https://api.github.com/users/amypetrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amypetrie/subscriptions","organizations_url":"https://api.github.com/users/amypetrie/orgs","repos_url":"https://api.github.com/users/amypetrie/repos","events_url":"https://api.github.com/users/amypetrie/events{/privacy}","received_events_url":"https://api.github.com/users/amypetrie/received_events","type":"User","site_admin":false},"repo":{"id":147949147,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NDkxNDc=","name":"black_thursday","full_name":"amypetrie/black_thursday","private":false,"owner":{"login":"amypetrie","id":37280041,"node_id":"MDQ6VXNlcjM3MjgwMDQx","avatar_url":"https://avatars0.githubusercontent.com/u/37280041?v=4","gravatar_id":"","url":"https://api.github.com/users/amypetrie","html_url":"https://github.com/amypetrie","followers_url":"https://api.github.com/users/amypetrie/followers","following_url":"https://api.github.com/users/amypetrie/following{/other_user}","gists_url":"https://api.github.com/users/amypetrie/gists{/gist_id}","starred_url":"https://api.github.com/users/amypetrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amypetrie/subscriptions","organizations_url":"https://api.github.com/users/amypetrie/orgs","repos_url":"https://api.github.com/users/amypetrie/repos","events_url":"https://api.github.com/users/amypetrie/events{/privacy}","received_events_url":"https://api.github.com/users/amypetrie/received_events","type":"User","site_admin":false},"html_url":"https://github.com/amypetrie/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/amypetrie/black_thursday","forks_url":"https://api.github.com/repos/amypetrie/black_thursday/forks","keys_url":"https://api.github.com/repos/amypetrie/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amypetrie/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amypetrie/black_thursday/teams","hooks_url":"https://api.github.com/repos/amypetrie/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/amypetrie/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/amypetrie/black_thursday/events","assignees_url":"https://api.github.com/repos/amypetrie/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/amypetrie/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/amypetrie/black_thursday/tags","blobs_url":"https://api.github.com/repos/amypetrie/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amypetrie/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amypetrie/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/amypetrie/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amypetrie/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/amypetrie/black_thursday/languages","stargazers_url":"https://api.github.com/repos/amypetrie/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/amypetrie/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/amypetrie/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/amypetrie/black_thursday/subscription","commits_url":"https://api.github.com/repos/amypetrie/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/amypetrie/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/amypetrie/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/amypetrie/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/amypetrie/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/amypetrie/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amypetrie/black_thursday/merges","archive_url":"https://api.github.com/repos/amypetrie/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amypetrie/black_thursday/downloads","issues_url":"https://api.github.com/repos/amypetrie/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/amypetrie/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/amypetrie/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/amypetrie/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amypetrie/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/amypetrie/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/amypetrie/black_thursday/deployments","created_at":"2018-09-08T16:11:49Z","updated_at":"2018-09-19T15:39:41Z","pushed_at":"2018-09-19T16:59:01Z","git_url":"git://github.com/amypetrie/black_thursday.git","ssh_url":"git@github.com:amypetrie/black_thursday.git","clone_url":"https://github.com/amypetrie/black_thursday.git","svn_url":"https://github.com/amypetrie/black_thursday","homepage":null,"size":1877,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26"},"html":{"href":"https://github.com/amypetrie/black_thursday/pull/26"},"issue":{"href":"https://api.github.com/repos/amypetrie/black_thursday/issues/26"},"comments":{"href":"https://api.github.com/repos/amypetrie/black_thursday/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/amypetrie/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amypetrie/black_thursday/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/amypetrie/black_thursday/statuses/e85cbcc335e1dee4d4d0324a75c682ddacdd83cb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}