{"action":"created","comment":{"url":"https://api.github.com/repos/brianyan/Dispatchr/pulls/comments/89258386","pull_request_review_id":9804779,"id":89258386,"diff_hunk":"@@ -0,0 +1,116 @@\n+require 'rails_helper'\n+","path":"dispatchr-ruby/spec/controllers/request_items_controller_spec.rb","position":2,"original_position":2,"commit_id":"d1f2f4c81421576fea80ee0df6d9aee1a5db645e","original_commit_id":"d1f2f4c81421576fea80ee0df6d9aee1a5db645e","user":{"login":"JordanNguyen","id":10394597,"avatar_url":"https://avatars.githubusercontent.com/u/10394597?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanNguyen","html_url":"https://github.com/JordanNguyen","followers_url":"https://api.github.com/users/JordanNguyen/followers","following_url":"https://api.github.com/users/JordanNguyen/following{/other_user}","gists_url":"https://api.github.com/users/JordanNguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanNguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanNguyen/subscriptions","organizations_url":"https://api.github.com/users/JordanNguyen/orgs","repos_url":"https://api.github.com/users/JordanNguyen/repos","events_url":"https://api.github.com/users/JordanNguyen/events{/privacy}","received_events_url":"https://api.github.com/users/JordanNguyen/received_events","type":"User","site_admin":false},"body":"you dont have one right? idk how i should be testing it tbh","created_at":"2016-11-23T05:31:21Z","updated_at":"2016-11-23T05:31:21Z","html_url":"https://github.com/brianyan/Dispatchr/pull/19#discussion_r89258386","pull_request_url":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/brianyan/Dispatchr/pulls/comments/89258386"},"html":{"href":"https://github.com/brianyan/Dispatchr/pull/19#discussion_r89258386"},"pull_request":{"href":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19","id":94765199,"html_url":"https://github.com/brianyan/Dispatchr/pull/19","diff_url":"https://github.com/brianyan/Dispatchr/pull/19.diff","patch_url":"https://github.com/brianyan/Dispatchr/pull/19.patch","issue_url":"https://api.github.com/repos/brianyan/Dispatchr/issues/19","number":19,"state":"open","locked":false,"title":"Request items","user":{"login":"JordanNguyen","id":10394597,"avatar_url":"https://avatars.githubusercontent.com/u/10394597?v=3","gravatar_id":"","url":"https://api.github.com/users/JordanNguyen","html_url":"https://github.com/JordanNguyen","followers_url":"https://api.github.com/users/JordanNguyen/followers","following_url":"https://api.github.com/users/JordanNguyen/following{/other_user}","gists_url":"https://api.github.com/users/JordanNguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/JordanNguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JordanNguyen/subscriptions","organizations_url":"https://api.github.com/users/JordanNguyen/orgs","repos_url":"https://api.github.com/users/JordanNguyen/repos","events_url":"https://api.github.com/users/JordanNguyen/events{/privacy}","received_events_url":"https://api.github.com/users/JordanNguyen/received_events","type":"User","site_admin":false},"body":"request_items endpoints and tests done. follows strong parameterization \r\n\r\nJSON's to create request_item looks like this:\r\n\r\n```\r\n{\r\n\"request_item\":\r\n\t{ \r\n\t\t\"request_id\": 1, \r\n\t\t\"max_price\": 100, \r\n\t\t\"quantity_description\": 5, \r\n\t\t\"item\": \r\n\t\t{ \r\n\t\t\t\"name\": \"bananas\" \r\n\t\t}\r\n\t}\r\n}\r\n```","created_at":"2016-11-22T08:05:59Z","updated_at":"2016-11-23T05:31:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57098dd2e9fc5103e8f48a3e609dceb24c68b479","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19/commits","review_comments_url":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19/comments","review_comment_url":"https://api.github.com/repos/brianyan/Dispatchr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brianyan/Dispatchr/issues/19/comments","statuses_url":"https://api.github.com/repos/brianyan/Dispatchr/statuses/d1f2f4c81421576fea80ee0df6d9aee1a5db645e","head":{"label":"brianyan:request-items","ref":"request-items","sha":"d1f2f4c81421576fea80ee0df6d9aee1a5db645e","user":{"login":"brianyan","id":10080139,"avatar_url":"https://avatars.githubusercontent.com/u/10080139?v=3","gravatar_id":"","url":"https://api.github.com/users/brianyan","html_url":"https://github.com/brianyan","followers_url":"https://api.github.com/users/brianyan/followers","following_url":"https://api.github.com/users/brianyan/following{/other_user}","gists_url":"https://api.github.com/users/brianyan/gists{/gist_id}","starred_url":"https://api.github.com/users/brianyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianyan/subscriptions","organizations_url":"https://api.github.com/users/brianyan/orgs","repos_url":"https://api.github.com/users/brianyan/repos","events_url":"https://api.github.com/users/brianyan/events{/privacy}","received_events_url":"https://api.github.com/users/brianyan/received_events","type":"User","site_admin":false},"repo":{"id":70096970,"name":"Dispatchr","full_name":"brianyan/Dispatchr","owner":{"login":"brianyan","id":10080139,"avatar_url":"https://avatars.githubusercontent.com/u/10080139?v=3","gravatar_id":"","url":"https://api.github.com/users/brianyan","html_url":"https://github.com/brianyan","followers_url":"https://api.github.com/users/brianyan/followers","following_url":"https://api.github.com/users/brianyan/following{/other_user}","gists_url":"https://api.github.com/users/brianyan/gists{/gist_id}","starred_url":"https://api.github.com/users/brianyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianyan/subscriptions","organizations_url":"https://api.github.com/users/brianyan/orgs","repos_url":"https://api.github.com/users/brianyan/repos","events_url":"https://api.github.com/users/brianyan/events{/privacy}","received_events_url":"https://api.github.com/users/brianyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brianyan/Dispatchr","description":"Capstone 2016-2017","fork":false,"url":"https://api.github.com/repos/brianyan/Dispatchr","forks_url":"https://api.github.com/repos/brianyan/Dispatchr/forks","keys_url":"https://api.github.com/repos/brianyan/Dispatchr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianyan/Dispatchr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianyan/Dispatchr/teams","hooks_url":"https://api.github.com/repos/brianyan/Dispatchr/hooks","issue_events_url":"https://api.github.com/repos/brianyan/Dispatchr/issues/events{/number}","events_url":"https://api.github.com/repos/brianyan/Dispatchr/events","assignees_url":"https://api.github.com/repos/brianyan/Dispatchr/assignees{/user}","branches_url":"https://api.github.com/repos/brianyan/Dispatchr/branches{/branch}","tags_url":"https://api.github.com/repos/brianyan/Dispatchr/tags","blobs_url":"https://api.github.com/repos/brianyan/Dispatchr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianyan/Dispatchr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianyan/Dispatchr/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianyan/Dispatchr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianyan/Dispatchr/statuses/{sha}","languages_url":"https://api.github.com/repos/brianyan/Dispatchr/languages","stargazers_url":"https://api.github.com/repos/brianyan/Dispatchr/stargazers","contributors_url":"https://api.github.com/repos/brianyan/Dispatchr/contributors","subscribers_url":"https://api.github.com/repos/brianyan/Dispatchr/subscribers","subscription_url":"https://api.github.com/repos/brianyan/Dispatchr/subscription","commits_url":"https://api.github.com/repos/brianyan/Dispatchr/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianyan/Dispatchr/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianyan/Dispatchr/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianyan/Dispatchr/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianyan/Dispatchr/contents/{+path}","compare_url":"https://api.github.com/repos/brianyan/Dispatchr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianyan/Dispatchr/merges","archive_url":"https://api.github.com/repos/brianyan/Dispatchr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianyan/Dispatchr/downloads","issues_url":"https://api.github.com/repos/brianyan/Dispatchr/issues{/number}","pulls_url":"https://api.github.com/repos/brianyan/Dispatchr/pulls{/number}","milestones_url":"https://api.github.com/repos/brianyan/Dispatchr/milestones{/number}","notifications_url":"https://api.github.com/repos/brianyan/Dispatchr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianyan/Dispatchr/labels{/name}","releases_url":"https://api.github.com/repos/brianyan/Dispatchr/releases{/id}","deployments_url":"https://api.github.com/repos/brianyan/Dispatchr/deployments","created_at":"2016-10-05T20:31:47Z","updated_at":"2016-10-31T21:46:23Z","pushed_at":"2016-11-23T04:44:00Z","git_url":"git://github.com/brianyan/Dispatchr.git","ssh_url":"git@github.com:brianyan/Dispatchr.git","clone_url":"https://github.com/brianyan/Dispatchr.git","svn_url":"https://github.com/brianyan/Dispatchr","homepage":null,"size":6952,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"brianyan:master","ref":"master","sha":"bed8260b8b075970d65f3b3bb010d446655cdfa7","user":{"login":"brianyan","id":10080139,"avatar_url":"https://avatars.githubusercontent.com/u/10080139?v=3","gravatar_id":"","url":"https://api.github.com/users/brianyan","html_url":"https://github.com/brianyan","followers_url":"https://api.github.com/users/brianyan/followers","following_url":"https://api.github.com/users/brianyan/following{/other_user}","gists_url":"https://api.github.com/users/brianyan/gists{/gist_id}","starred_url":"https://api.github.com/users/brianyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianyan/subscriptions","organizations_url":"https://api.github.com/users/brianyan/orgs","repos_url":"https://api.github.com/users/brianyan/repos","events_url":"https://api.github.com/users/brianyan/events{/privacy}","received_events_url":"https://api.github.com/users/brianyan/received_events","type":"User","site_admin":false},"repo":{"id":70096970,"name":"Dispatchr","full_name":"brianyan/Dispatchr","owner":{"login":"brianyan","id":10080139,"avatar_url":"https://avatars.githubusercontent.com/u/10080139?v=3","gravatar_id":"","url":"https://api.github.com/users/brianyan","html_url":"https://github.com/brianyan","followers_url":"https://api.github.com/users/brianyan/followers","following_url":"https://api.github.com/users/brianyan/following{/other_user}","gists_url":"https://api.github.com/users/brianyan/gists{/gist_id}","starred_url":"https://api.github.com/users/brianyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianyan/subscriptions","organizations_url":"https://api.github.com/users/brianyan/orgs","repos_url":"https://api.github.com/users/brianyan/repos","events_url":"https://api.github.com/users/brianyan/events{/privacy}","received_events_url":"https://api.github.com/users/brianyan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brianyan/Dispatchr","description":"Capstone 2016-2017","fork":false,"url":"https://api.github.com/repos/brianyan/Dispatchr","forks_url":"https://api.github.com/repos/brianyan/Dispatchr/forks","keys_url":"https://api.github.com/repos/brianyan/Dispatchr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianyan/Dispatchr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianyan/Dispatchr/teams","hooks_url":"https://api.github.com/repos/brianyan/Dispatchr/hooks","issue_events_url":"https://api.github.com/repos/brianyan/Dispatchr/issues/events{/number}","events_url":"https://api.github.com/repos/brianyan/Dispatchr/events","assignees_url":"https://api.github.com/repos/brianyan/Dispatchr/assignees{/user}","branches_url":"https://api.github.com/repos/brianyan/Dispatchr/branches{/branch}","tags_url":"https://api.github.com/repos/brianyan/Dispatchr/tags","blobs_url":"https://api.github.com/repos/brianyan/Dispatchr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianyan/Dispatchr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianyan/Dispatchr/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianyan/Dispatchr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianyan/Dispatchr/statuses/{sha}","languages_url":"https://api.github.com/repos/brianyan/Dispatchr/languages","stargazers_url":"https://api.github.com/repos/brianyan/Dispatchr/stargazers","contributors_url":"https://api.github.com/repos/brianyan/Dispatchr/contributors","subscribers_url":"https://api.github.com/repos/brianyan/Dispatchr/subscribers","subscription_url":"https://api.github.com/repos/brianyan/Dispatchr/subscription","commits_url":"https://api.github.com/repos/brianyan/Dispatchr/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianyan/Dispatchr/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianyan/Dispatchr/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianyan/Dispatchr/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianyan/Dispatchr/contents/{+path}","compare_url":"https://api.github.com/repos/brianyan/Dispatchr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianyan/Dispatchr/merges","archive_url":"https://api.github.com/repos/brianyan/Dispatchr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianyan/Dispatchr/downloads","issues_url":"https://api.github.com/repos/brianyan/Dispatchr/issues{/number}","pulls_url":"https://api.github.com/repos/brianyan/Dispatchr/pulls{/number}","milestones_url":"https://api.github.com/repos/brianyan/Dispatchr/milestones{/number}","notifications_url":"https://api.github.com/repos/brianyan/Dispatchr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianyan/Dispatchr/labels{/name}","releases_url":"https://api.github.com/repos/brianyan/Dispatchr/releases{/id}","deployments_url":"https://api.github.com/repos/brianyan/Dispatchr/deployments","created_at":"2016-10-05T20:31:47Z","updated_at":"2016-10-31T21:46:23Z","pushed_at":"2016-11-23T04:44:00Z","git_url":"git://github.com/brianyan/Dispatchr.git","ssh_url":"git@github.com:brianyan/Dispatchr.git","clone_url":"https://github.com/brianyan/Dispatchr.git","svn_url":"https://github.com/brianyan/Dispatchr","homepage":null,"size":6952,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19"},"html":{"href":"https://github.com/brianyan/Dispatchr/pull/19"},"issue":{"href":"https://api.github.com/repos/brianyan/Dispatchr/issues/19"},"comments":{"href":"https://api.github.com/repos/brianyan/Dispatchr/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/brianyan/Dispatchr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brianyan/Dispatchr/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/brianyan/Dispatchr/statuses/d1f2f4c81421576fea80ee0df6d9aee1a5db645e"}}}}
{"actor":{"display_login":"JordanNguyen"}}