{"action":"created","comment":{"url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/comments/91866592","pull_request_review_id":12376044,"id":91866592,"diff_hunk":"@@ -53,13 +33,17 @@\n     end\n \n     it 'should successfully return the old and updated values' do\n+      grocery_item = item.grocery_item(grocery)\n       subject\n-      expect(JSON.parse(response.body)['data']['previous_item_values'])\n-        .to eq controller.send(:format_item, grocery_item)\n-        .slice(:price).with_indifferent_access\n-      expect(JSON.parse(response.body)['data']['updated_item_values'])\n-        .to eq controller.send(:format_item, grocery_item.reload)\n-        .slice(:price, :quantity, :display_name, :units).with_indifferent_access\n+      body = JSON.parse(response.body)\n+      expect(body['grocery_item']).to eq(","path":"spec/controllers/items_controller_spec.rb","position":40,"original_position":40,"commit_id":"abab1a1e0d16018dba54042d9c716add2c7dbb16","original_commit_id":"abab1a1e0d16018dba54042d9c716add2c7dbb16","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-12-11T21:58:33Z","updated_at":"2016-12-11T21:58:33Z","html_url":"https://github.com/danReynolds/SupermarKit/pull/146#discussion_r91866592","pull_request_url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/comments/91866592"},"html":{"href":"https://github.com/danReynolds/SupermarKit/pull/146#discussion_r91866592"},"pull_request":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146","id":97474310,"html_url":"https://github.com/danReynolds/SupermarKit/pull/146","diff_url":"https://github.com/danReynolds/SupermarKit/pull/146.diff","patch_url":"https://github.com/danReynolds/SupermarKit/pull/146.patch","issue_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues/146","number":146,"state":"open","locked":false,"title":"Feature/groceries controller cleanup","user":{"login":"danReynolds","id":2192930,"avatar_url":"https://avatars.githubusercontent.com/u/2192930?v=3","gravatar_id":"","url":"https://api.github.com/users/danReynolds","html_url":"https://github.com/danReynolds","followers_url":"https://api.github.com/users/danReynolds/followers","following_url":"https://api.github.com/users/danReynolds/following{/other_user}","gists_url":"https://api.github.com/users/danReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/danReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danReynolds/subscriptions","organizations_url":"https://api.github.com/users/danReynolds/orgs","repos_url":"https://api.github.com/users/danReynolds/repos","events_url":"https://api.github.com/users/danReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/danReynolds/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-11T21:49:06Z","updated_at":"2016-12-11T21:58:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47f5ba00f9487d24bac21bf5512f551ba6064f31","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146/commits","review_comments_url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146/comments","review_comment_url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues/146/comments","statuses_url":"https://api.github.com/repos/danReynolds/SupermarKit/statuses/abab1a1e0d16018dba54042d9c716add2c7dbb16","head":{"label":"danReynolds:feature/groceriesControllerCleanup","ref":"feature/groceriesControllerCleanup","sha":"abab1a1e0d16018dba54042d9c716add2c7dbb16","user":{"login":"danReynolds","id":2192930,"avatar_url":"https://avatars.githubusercontent.com/u/2192930?v=3","gravatar_id":"","url":"https://api.github.com/users/danReynolds","html_url":"https://github.com/danReynolds","followers_url":"https://api.github.com/users/danReynolds/followers","following_url":"https://api.github.com/users/danReynolds/following{/other_user}","gists_url":"https://api.github.com/users/danReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/danReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danReynolds/subscriptions","organizations_url":"https://api.github.com/users/danReynolds/orgs","repos_url":"https://api.github.com/users/danReynolds/repos","events_url":"https://api.github.com/users/danReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/danReynolds/received_events","type":"User","site_admin":false},"repo":{"id":27952521,"name":"SupermarKit","full_name":"danReynolds/SupermarKit","owner":{"login":"danReynolds","id":2192930,"avatar_url":"https://avatars.githubusercontent.com/u/2192930?v=3","gravatar_id":"","url":"https://api.github.com/users/danReynolds","html_url":"https://github.com/danReynolds","followers_url":"https://api.github.com/users/danReynolds/followers","following_url":"https://api.github.com/users/danReynolds/following{/other_user}","gists_url":"https://api.github.com/users/danReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/danReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danReynolds/subscriptions","organizations_url":"https://api.github.com/users/danReynolds/orgs","repos_url":"https://api.github.com/users/danReynolds/repos","events_url":"https://api.github.com/users/danReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/danReynolds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danReynolds/SupermarKit","description":"SupermarKit - a grocery tracking and management app","fork":false,"url":"https://api.github.com/repos/danReynolds/SupermarKit","forks_url":"https://api.github.com/repos/danReynolds/SupermarKit/forks","keys_url":"https://api.github.com/repos/danReynolds/SupermarKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danReynolds/SupermarKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danReynolds/SupermarKit/teams","hooks_url":"https://api.github.com/repos/danReynolds/SupermarKit/hooks","issue_events_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues/events{/number}","events_url":"https://api.github.com/repos/danReynolds/SupermarKit/events","assignees_url":"https://api.github.com/repos/danReynolds/SupermarKit/assignees{/user}","branches_url":"https://api.github.com/repos/danReynolds/SupermarKit/branches{/branch}","tags_url":"https://api.github.com/repos/danReynolds/SupermarKit/tags","blobs_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danReynolds/SupermarKit/statuses/{sha}","languages_url":"https://api.github.com/repos/danReynolds/SupermarKit/languages","stargazers_url":"https://api.github.com/repos/danReynolds/SupermarKit/stargazers","contributors_url":"https://api.github.com/repos/danReynolds/SupermarKit/contributors","subscribers_url":"https://api.github.com/repos/danReynolds/SupermarKit/subscribers","subscription_url":"https://api.github.com/repos/danReynolds/SupermarKit/subscription","commits_url":"https://api.github.com/repos/danReynolds/SupermarKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/danReynolds/SupermarKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/danReynolds/SupermarKit/contents/{+path}","compare_url":"https://api.github.com/repos/danReynolds/SupermarKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danReynolds/SupermarKit/merges","archive_url":"https://api.github.com/repos/danReynolds/SupermarKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danReynolds/SupermarKit/downloads","issues_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues{/number}","pulls_url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls{/number}","milestones_url":"https://api.github.com/repos/danReynolds/SupermarKit/milestones{/number}","notifications_url":"https://api.github.com/repos/danReynolds/SupermarKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danReynolds/SupermarKit/labels{/name}","releases_url":"https://api.github.com/repos/danReynolds/SupermarKit/releases{/id}","deployments_url":"https://api.github.com/repos/danReynolds/SupermarKit/deployments","created_at":"2014-12-13T06:56:32Z","updated_at":"2016-10-28T05:56:19Z","pushed_at":"2016-12-11T21:58:22Z","git_url":"git://github.com/danReynolds/SupermarKit.git","ssh_url":"git@github.com:danReynolds/SupermarKit.git","clone_url":"https://github.com/danReynolds/SupermarKit.git","svn_url":"https://github.com/danReynolds/SupermarKit","homepage":"https://supermarkit.io","size":107961,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":18,"forks":5,"open_issues":18,"watchers":4,"default_branch":"master"}},"base":{"label":"danReynolds:master","ref":"master","sha":"bfba8d52f1f75a148c9091952c91facdab22a65e","user":{"login":"danReynolds","id":2192930,"avatar_url":"https://avatars.githubusercontent.com/u/2192930?v=3","gravatar_id":"","url":"https://api.github.com/users/danReynolds","html_url":"https://github.com/danReynolds","followers_url":"https://api.github.com/users/danReynolds/followers","following_url":"https://api.github.com/users/danReynolds/following{/other_user}","gists_url":"https://api.github.com/users/danReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/danReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danReynolds/subscriptions","organizations_url":"https://api.github.com/users/danReynolds/orgs","repos_url":"https://api.github.com/users/danReynolds/repos","events_url":"https://api.github.com/users/danReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/danReynolds/received_events","type":"User","site_admin":false},"repo":{"id":27952521,"name":"SupermarKit","full_name":"danReynolds/SupermarKit","owner":{"login":"danReynolds","id":2192930,"avatar_url":"https://avatars.githubusercontent.com/u/2192930?v=3","gravatar_id":"","url":"https://api.github.com/users/danReynolds","html_url":"https://github.com/danReynolds","followers_url":"https://api.github.com/users/danReynolds/followers","following_url":"https://api.github.com/users/danReynolds/following{/other_user}","gists_url":"https://api.github.com/users/danReynolds/gists{/gist_id}","starred_url":"https://api.github.com/users/danReynolds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danReynolds/subscriptions","organizations_url":"https://api.github.com/users/danReynolds/orgs","repos_url":"https://api.github.com/users/danReynolds/repos","events_url":"https://api.github.com/users/danReynolds/events{/privacy}","received_events_url":"https://api.github.com/users/danReynolds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danReynolds/SupermarKit","description":"SupermarKit - a grocery tracking and management app","fork":false,"url":"https://api.github.com/repos/danReynolds/SupermarKit","forks_url":"https://api.github.com/repos/danReynolds/SupermarKit/forks","keys_url":"https://api.github.com/repos/danReynolds/SupermarKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danReynolds/SupermarKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danReynolds/SupermarKit/teams","hooks_url":"https://api.github.com/repos/danReynolds/SupermarKit/hooks","issue_events_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues/events{/number}","events_url":"https://api.github.com/repos/danReynolds/SupermarKit/events","assignees_url":"https://api.github.com/repos/danReynolds/SupermarKit/assignees{/user}","branches_url":"https://api.github.com/repos/danReynolds/SupermarKit/branches{/branch}","tags_url":"https://api.github.com/repos/danReynolds/SupermarKit/tags","blobs_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danReynolds/SupermarKit/statuses/{sha}","languages_url":"https://api.github.com/repos/danReynolds/SupermarKit/languages","stargazers_url":"https://api.github.com/repos/danReynolds/SupermarKit/stargazers","contributors_url":"https://api.github.com/repos/danReynolds/SupermarKit/contributors","subscribers_url":"https://api.github.com/repos/danReynolds/SupermarKit/subscribers","subscription_url":"https://api.github.com/repos/danReynolds/SupermarKit/subscription","commits_url":"https://api.github.com/repos/danReynolds/SupermarKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/danReynolds/SupermarKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/danReynolds/SupermarKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/danReynolds/SupermarKit/contents/{+path}","compare_url":"https://api.github.com/repos/danReynolds/SupermarKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danReynolds/SupermarKit/merges","archive_url":"https://api.github.com/repos/danReynolds/SupermarKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danReynolds/SupermarKit/downloads","issues_url":"https://api.github.com/repos/danReynolds/SupermarKit/issues{/number}","pulls_url":"https://api.github.com/repos/danReynolds/SupermarKit/pulls{/number}","milestones_url":"https://api.github.com/repos/danReynolds/SupermarKit/milestones{/number}","notifications_url":"https://api.github.com/repos/danReynolds/SupermarKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danReynolds/SupermarKit/labels{/name}","releases_url":"https://api.github.com/repos/danReynolds/SupermarKit/releases{/id}","deployments_url":"https://api.github.com/repos/danReynolds/SupermarKit/deployments","created_at":"2014-12-13T06:56:32Z","updated_at":"2016-10-28T05:56:19Z","pushed_at":"2016-12-11T21:58:22Z","git_url":"git://github.com/danReynolds/SupermarKit.git","ssh_url":"git@github.com:danReynolds/SupermarKit.git","clone_url":"https://github.com/danReynolds/SupermarKit.git","svn_url":"https://github.com/danReynolds/SupermarKit","homepage":"https://supermarkit.io","size":107961,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":18,"forks":5,"open_issues":18,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146"},"html":{"href":"https://github.com/danReynolds/SupermarKit/pull/146"},"issue":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/issues/146"},"comments":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/danReynolds/SupermarKit/statuses/abab1a1e0d16018dba54042d9c716add2c7dbb16"}}}}
{"actor":{"display_login":"houndci-bot"}}