{"action":"created","comment":{"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments/217891419","pull_request_review_id":155720773,"id":217891419,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzg5MTQxOQ==","diff_hunk":"@@ -0,0 +1,56 @@\n+require 'simplecov'\n+SimpleCov.start\n+require 'minitest/autorun'\n+require 'minitest/pride'\n+require 'bigdecimal'\n+require 'time'\n+require './lib/transaction'\n+\n+class TransactionTest < Minitest::Test\n+  def test_it_exists\n+    t = Transaction.new({\n+      :id => 6,\n+      :invoice_id => 8,\n+      :credit_card_number => \"4242424242424242\",\n+      :credit_card_expiration_date => \"0220\",\n+      :result => \"success\",\n+      :created_at => Time.now,\n+      :updated_at => Time.now\n+      })\n+\n+    assert_instance_of Transaction, t\n+  end\n+\n+  def test_the_attributes\n+    t = Transaction.new({\n+      :id => 6,\n+      :invoice_id => 8,\n+      :credit_card_number => \"4242424242424242\",\n+      :credit_card_expiration_date => \"0220\",\n+      :result => \"success\",\n+      :created_at => Time.now,\n+      :updated_at => Time.now\n+      })\n+\n+    assert_equal 6, t.id\n+    assert_equal 8, t.invoice_id\n+    assert_equal \"4242424242424242\", t.credit_card_number\n+    assert_equal \"0220\", t.credit_card_expiration_date\n+    assert_equal \"success\", t.result\n+  end\n+\n+  def test_the_create_updated_time_stamps\n+    t = Transaction.new({\n+      :id => 6,\n+      :invoice_id => 8,\n+      :credit_card_number => \"4242424242424242\",\n+      :credit_card_expiration_date => \"0220\",\n+      :result => \"success\",\n+      :created_at => Time.now,\n+      :updated_at => Time.now\n+      })","path":"test/transaction_test.rb","position":19,"original_position":51,"commit_id":"a7c817e29f7712f7ddd65bdb336d46f938913979","original_commit_id":"a7c817e29f7712f7ddd65bdb336d46f938913979","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/IndentHash: Indent the right brace the same as the first position after the preceding left parenthesis.","created_at":"2018-09-15T17:59:25Z","updated_at":"2018-09-15T17:59:27Z","html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/33#discussion_r217891419","pull_request_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments/217891419"},"html":{"href":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/33#discussion_r217891419"},"pull_request":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33","id":215781409,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NzgxNDA5","html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/33","diff_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/33.diff","patch_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/33.patch","issue_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/33","number":33,"state":"closed","locked":false,"title":"Iteration three","user":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"body":"customer, invoice_items, and transactions tests","created_at":"2018-09-15T17:59:09Z","updated_at":"2018-09-15T17:59:27Z","closed_at":"2018-09-15T17:59:27Z","merged_at":"2018-09-15T17:59:27Z","merge_commit_sha":"5c22e8f52bf557c2a8fffe132dc00ba3ad60881e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33/commits","review_comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33/comments","review_comment_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/33/comments","statuses_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/a7c817e29f7712f7ddd65bdb336d46f938913979","head":{"label":"SKG360:iteration_three","ref":"iteration_three","sha":"a7c817e29f7712f7ddd65bdb336d46f938913979","user":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"repo":{"id":147974208,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NzQyMDg=","name":"BLACK_THURSDAY_MOD1","full_name":"SKG360/BLACK_THURSDAY_MOD1","private":false,"owner":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","description":"JPlao & SKG360 BE MOD1","fork":false,"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1","forks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/forks","keys_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/teams","hooks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/hooks","issue_events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/events{/number}","events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/events","assignees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/assignees{/user}","branches_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/branches{/branch}","tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/tags","blobs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/refs{/sha}","trees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/{sha}","languages_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/languages","stargazers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/stargazers","contributors_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contributors","subscribers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscribers","subscription_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscription","commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/commits{/sha}","git_commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/commits{/sha}","comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/comments{/number}","issue_comment_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/comments{/number}","contents_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contents/{+path}","compare_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/merges","archive_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/downloads","issues_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues{/number}","pulls_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls{/number}","milestones_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/milestones{/number}","notifications_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/labels{/name}","releases_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/releases{/id}","deployments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/deployments","created_at":"2018-09-08T22:24:15Z","updated_at":"2018-09-15T16:19:45Z","pushed_at":"2018-09-15T17:59:27Z","git_url":"git://github.com/SKG360/BLACK_THURSDAY_MOD1.git","ssh_url":"git@github.com:SKG360/BLACK_THURSDAY_MOD1.git","clone_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1.git","svn_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","homepage":null,"size":772,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SKG360:master","ref":"master","sha":"5c79eb6ce15e7b4b4cb20e7f1ebdc7ccfdbf045e","user":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"repo":{"id":147974208,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc5NzQyMDg=","name":"BLACK_THURSDAY_MOD1","full_name":"SKG360/BLACK_THURSDAY_MOD1","private":false,"owner":{"login":"SKG360","id":29897785,"node_id":"MDQ6VXNlcjI5ODk3Nzg1","avatar_url":"https://avatars3.githubusercontent.com/u/29897785?v=4","gravatar_id":"","url":"https://api.github.com/users/SKG360","html_url":"https://github.com/SKG360","followers_url":"https://api.github.com/users/SKG360/followers","following_url":"https://api.github.com/users/SKG360/following{/other_user}","gists_url":"https://api.github.com/users/SKG360/gists{/gist_id}","starred_url":"https://api.github.com/users/SKG360/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SKG360/subscriptions","organizations_url":"https://api.github.com/users/SKG360/orgs","repos_url":"https://api.github.com/users/SKG360/repos","events_url":"https://api.github.com/users/SKG360/events{/privacy}","received_events_url":"https://api.github.com/users/SKG360/received_events","type":"User","site_admin":false},"html_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","description":"JPlao & SKG360 BE MOD1","fork":false,"url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1","forks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/forks","keys_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/teams","hooks_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/hooks","issue_events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/events{/number}","events_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/events","assignees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/assignees{/user}","branches_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/branches{/branch}","tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/tags","blobs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/refs{/sha}","trees_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/{sha}","languages_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/languages","stargazers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/stargazers","contributors_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contributors","subscribers_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscribers","subscription_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/subscription","commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/commits{/sha}","git_commits_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/git/commits{/sha}","comments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/comments{/number}","issue_comment_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/comments{/number}","contents_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/contents/{+path}","compare_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/merges","archive_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/downloads","issues_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues{/number}","pulls_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls{/number}","milestones_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/milestones{/number}","notifications_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/labels{/name}","releases_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/releases{/id}","deployments_url":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/deployments","created_at":"2018-09-08T22:24:15Z","updated_at":"2018-09-15T16:19:45Z","pushed_at":"2018-09-15T17:59:27Z","git_url":"git://github.com/SKG360/BLACK_THURSDAY_MOD1.git","ssh_url":"git@github.com:SKG360/BLACK_THURSDAY_MOD1.git","clone_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1.git","svn_url":"https://github.com/SKG360/BLACK_THURSDAY_MOD1","homepage":null,"size":772,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33"},"html":{"href":"https://github.com/SKG360/BLACK_THURSDAY_MOD1/pull/33"},"issue":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/33"},"comments":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/SKG360/BLACK_THURSDAY_MOD1/statuses/a7c817e29f7712f7ddd65bdb336d46f938913979"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}