{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-examples/reunion/pulls/comments/139021761","pull_request_review_id":62899053,"id":139021761,"diff_hunk":"@@ -4,4 +4,34 @@\n require './lib/activity'\n \n class ActivityTest < Minitest::Test\n+  def test_it_exists\n+    activity = Activity.new(\"hiking\")\n+\n+    assert_instance_of Activity, activity\n+  end\n+\n+  def test_for_name\n+    activity = Activity.new(\"hiking\")\n+\n+    assert_equal \"hiking\", activity.name\n+  end\n+\n+  def test_for_participants\n+    activity = Activity.new(\"hiking\")\n+\n+    assert_equal ({}), activity.participants\n+  end\n+\n+  def test_can_add_particpants\n+    activity = Activity.new(\"hiking\")\n+\n+    assert_equal ({\"gabe\" => 40}), activity.add_participants\n+  end\n+\n+  def test_for_total_cost_of_activity\n+    activity = Activity.new(\"hiking\")\n+    activity.add_participants(key, value)","path":"test/activity_test.rb","position":30,"original_position":30,"commit_id":"36ad30b65fab2a5e8dd16c45da67b4dde4b637d8","original_commit_id":"36ad30b65fab2a5e8dd16c45da67b4dde4b637d8","user":{"login":"VictoriaVasys","id":10079657,"avatar_url":"https://avatars0.githubusercontent.com/u/10079657?v=4","gravatar_id":"","url":"https://api.github.com/users/VictoriaVasys","html_url":"https://github.com/VictoriaVasys","followers_url":"https://api.github.com/users/VictoriaVasys/followers","following_url":"https://api.github.com/users/VictoriaVasys/following{/other_user}","gists_url":"https://api.github.com/users/VictoriaVasys/gists{/gist_id}","starred_url":"https://api.github.com/users/VictoriaVasys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictoriaVasys/subscriptions","organizations_url":"https://api.github.com/users/VictoriaVasys/orgs","repos_url":"https://api.github.com/users/VictoriaVasys/repos","events_url":"https://api.github.com/users/VictoriaVasys/events{/privacy}","received_events_url":"https://api.github.com/users/VictoriaVasys/received_events","type":"User","site_admin":false},"body":"If this is how you want to setup your add_participants method, you need to make sure you either update your previous test or add default values to your add_participants method. In your test, you also need to define key & value before you pass them to a method.","created_at":"2017-09-14T21:59:57Z","updated_at":"2017-09-14T22:04:56Z","html_url":"https://github.com/turingschool-examples/reunion/pull/43#discussion_r139021761","pull_request_url":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/reunion/pulls/comments/139021761"},"html":{"href":"https://github.com/turingschool-examples/reunion/pull/43#discussion_r139021761"},"pull_request":{"href":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43","id":140867720,"html_url":"https://github.com/turingschool-examples/reunion/pull/43","diff_url":"https://github.com/turingschool-examples/reunion/pull/43.diff","patch_url":"https://github.com/turingschool-examples/reunion/pull/43.patch","issue_url":"https://api.github.com/repos/turingschool-examples/reunion/issues/43","number":43,"state":"closed","locked":false,"title":"Gabe_A_reunion_1708b","user":{"login":"GabrielAfflitto","id":26525033,"avatar_url":"https://avatars0.githubusercontent.com/u/26525033?v=4","gravatar_id":"","url":"https://api.github.com/users/GabrielAfflitto","html_url":"https://github.com/GabrielAfflitto","followers_url":"https://api.github.com/users/GabrielAfflitto/followers","following_url":"https://api.github.com/users/GabrielAfflitto/following{/other_user}","gists_url":"https://api.github.com/users/GabrielAfflitto/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielAfflitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielAfflitto/subscriptions","organizations_url":"https://api.github.com/users/GabrielAfflitto/orgs","repos_url":"https://api.github.com/users/GabrielAfflitto/repos","events_url":"https://api.github.com/users/GabrielAfflitto/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielAfflitto/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-13T16:05:42Z","updated_at":"2017-09-14T22:04:56Z","closed_at":"2017-09-14T21:53:55Z","merged_at":null,"merge_commit_sha":"5b181101efd60ce6722d535ea482d2b75cc2e6de","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43/commits","review_comments_url":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43/comments","review_comment_url":"https://api.github.com/repos/turingschool-examples/reunion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-examples/reunion/issues/43/comments","statuses_url":"https://api.github.com/repos/turingschool-examples/reunion/statuses/36ad30b65fab2a5e8dd16c45da67b4dde4b637d8","head":{"label":"GabrielAfflitto:master","ref":"master","sha":"36ad30b65fab2a5e8dd16c45da67b4dde4b637d8","user":{"login":"GabrielAfflitto","id":26525033,"avatar_url":"https://avatars0.githubusercontent.com/u/26525033?v=4","gravatar_id":"","url":"https://api.github.com/users/GabrielAfflitto","html_url":"https://github.com/GabrielAfflitto","followers_url":"https://api.github.com/users/GabrielAfflitto/followers","following_url":"https://api.github.com/users/GabrielAfflitto/following{/other_user}","gists_url":"https://api.github.com/users/GabrielAfflitto/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielAfflitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielAfflitto/subscriptions","organizations_url":"https://api.github.com/users/GabrielAfflitto/orgs","repos_url":"https://api.github.com/users/GabrielAfflitto/repos","events_url":"https://api.github.com/users/GabrielAfflitto/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielAfflitto/received_events","type":"User","site_admin":false},"repo":{"id":103414410,"name":"reunion","full_name":"GabrielAfflitto/reunion","owner":{"login":"GabrielAfflitto","id":26525033,"avatar_url":"https://avatars0.githubusercontent.com/u/26525033?v=4","gravatar_id":"","url":"https://api.github.com/users/GabrielAfflitto","html_url":"https://github.com/GabrielAfflitto","followers_url":"https://api.github.com/users/GabrielAfflitto/followers","following_url":"https://api.github.com/users/GabrielAfflitto/following{/other_user}","gists_url":"https://api.github.com/users/GabrielAfflitto/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielAfflitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielAfflitto/subscriptions","organizations_url":"https://api.github.com/users/GabrielAfflitto/orgs","repos_url":"https://api.github.com/users/GabrielAfflitto/repos","events_url":"https://api.github.com/users/GabrielAfflitto/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielAfflitto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GabrielAfflitto/reunion","description":null,"fork":true,"url":"https://api.github.com/repos/GabrielAfflitto/reunion","forks_url":"https://api.github.com/repos/GabrielAfflitto/reunion/forks","keys_url":"https://api.github.com/repos/GabrielAfflitto/reunion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GabrielAfflitto/reunion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GabrielAfflitto/reunion/teams","hooks_url":"https://api.github.com/repos/GabrielAfflitto/reunion/hooks","issue_events_url":"https://api.github.com/repos/GabrielAfflitto/reunion/issues/events{/number}","events_url":"https://api.github.com/repos/GabrielAfflitto/reunion/events","assignees_url":"https://api.github.com/repos/GabrielAfflitto/reunion/assignees{/user}","branches_url":"https://api.github.com/repos/GabrielAfflitto/reunion/branches{/branch}","tags_url":"https://api.github.com/repos/GabrielAfflitto/reunion/tags","blobs_url":"https://api.github.com/repos/GabrielAfflitto/reunion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GabrielAfflitto/reunion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GabrielAfflitto/reunion/git/refs{/sha}","trees_url":"https://api.github.com/repos/GabrielAfflitto/reunion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GabrielAfflitto/reunion/statuses/{sha}","languages_url":"https://api.github.com/repos/GabrielAfflitto/reunion/languages","stargazers_url":"https://api.github.com/repos/GabrielAfflitto/reunion/stargazers","contributors_url":"https://api.github.com/repos/GabrielAfflitto/reunion/contributors","subscribers_url":"https://api.github.com/repos/GabrielAfflitto/reunion/subscribers","subscription_url":"https://api.github.com/repos/GabrielAfflitto/reunion/subscription","commits_url":"https://api.github.com/repos/GabrielAfflitto/reunion/commits{/sha}","git_commits_url":"https://api.github.com/repos/GabrielAfflitto/reunion/git/commits{/sha}","comments_url":"https://api.github.com/repos/GabrielAfflitto/reunion/comments{/number}","issue_comment_url":"https://api.github.com/repos/GabrielAfflitto/reunion/issues/comments{/number}","contents_url":"https://api.github.com/repos/GabrielAfflitto/reunion/contents/{+path}","compare_url":"https://api.github.com/repos/GabrielAfflitto/reunion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GabrielAfflitto/reunion/merges","archive_url":"https://api.github.com/repos/GabrielAfflitto/reunion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GabrielAfflitto/reunion/downloads","issues_url":"https://api.github.com/repos/GabrielAfflitto/reunion/issues{/number}","pulls_url":"https://api.github.com/repos/GabrielAfflitto/reunion/pulls{/number}","milestones_url":"https://api.github.com/repos/GabrielAfflitto/reunion/milestones{/number}","notifications_url":"https://api.github.com/repos/GabrielAfflitto/reunion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GabrielAfflitto/reunion/labels{/name}","releases_url":"https://api.github.com/repos/GabrielAfflitto/reunion/releases{/id}","deployments_url":"https://api.github.com/repos/GabrielAfflitto/reunion/deployments","created_at":"2017-09-13T15:04:20Z","updated_at":"2017-09-13T15:04:21Z","pushed_at":"2017-09-13T16:00:32Z","git_url":"git://github.com/GabrielAfflitto/reunion.git","ssh_url":"git@github.com:GabrielAfflitto/reunion.git","clone_url":"https://github.com/GabrielAfflitto/reunion.git","svn_url":"https://github.com/GabrielAfflitto/reunion","homepage":null,"size":5,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-examples:master","ref":"master","sha":"62d38cd79903ba6dbd52d0de5d50b3df29bb5481","user":{"login":"turingschool-examples","id":8518346,"avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"repo":{"id":98380766,"name":"reunion","full_name":"turingschool-examples/reunion","owner":{"login":"turingschool-examples","id":8518346,"avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool-examples/reunion","description":null,"fork":true,"url":"https://api.github.com/repos/turingschool-examples/reunion","forks_url":"https://api.github.com/repos/turingschool-examples/reunion/forks","keys_url":"https://api.github.com/repos/turingschool-examples/reunion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-examples/reunion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-examples/reunion/teams","hooks_url":"https://api.github.com/repos/turingschool-examples/reunion/hooks","issue_events_url":"https://api.github.com/repos/turingschool-examples/reunion/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-examples/reunion/events","assignees_url":"https://api.github.com/repos/turingschool-examples/reunion/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-examples/reunion/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-examples/reunion/tags","blobs_url":"https://api.github.com/repos/turingschool-examples/reunion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-examples/reunion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-examples/reunion/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-examples/reunion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-examples/reunion/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-examples/reunion/languages","stargazers_url":"https://api.github.com/repos/turingschool-examples/reunion/stargazers","contributors_url":"https://api.github.com/repos/turingschool-examples/reunion/contributors","subscribers_url":"https://api.github.com/repos/turingschool-examples/reunion/subscribers","subscription_url":"https://api.github.com/repos/turingschool-examples/reunion/subscription","commits_url":"https://api.github.com/repos/turingschool-examples/reunion/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-examples/reunion/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-examples/reunion/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-examples/reunion/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-examples/reunion/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-examples/reunion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-examples/reunion/merges","archive_url":"https://api.github.com/repos/turingschool-examples/reunion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-examples/reunion/downloads","issues_url":"https://api.github.com/repos/turingschool-examples/reunion/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-examples/reunion/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-examples/reunion/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-examples/reunion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-examples/reunion/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-examples/reunion/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-examples/reunion/deployments","created_at":"2017-07-26T04:50:04Z","updated_at":"2017-07-26T15:55:24Z","pushed_at":"2017-09-14T20:55:52Z","git_url":"git://github.com/turingschool-examples/reunion.git","ssh_url":"git@github.com:turingschool-examples/reunion.git","clone_url":"https://github.com/turingschool-examples/reunion.git","svn_url":"https://github.com/turingschool-examples/reunion","homepage":null,"size":5,"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":40,"mirror_url":null,"open_issues_count":6,"forks":40,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43"},"html":{"href":"https://github.com/turingschool-examples/reunion/pull/43"},"issue":{"href":"https://api.github.com/repos/turingschool-examples/reunion/issues/43"},"comments":{"href":"https://api.github.com/repos/turingschool-examples/reunion/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-examples/reunion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-examples/reunion/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-examples/reunion/statuses/36ad30b65fab2a5e8dd16c45da67b4dde4b637d8"}},"author_association":"NONE"}}
{"actor":{"display_login":"VictoriaVasys"}}