{"action":"created","comment":{"url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/comments/48987701","id":48987701,"diff_hunk":"@@ -0,0 +1,51 @@\n+require \"rails_helper\"\n+\n+feature \"users can add a new review for a piece of music\" do\n+  before do\n+    piece = FactoryGirl.create(:piece)","path":"spec/features/user_adds_review_spec.rb","position":5,"original_position":5,"commit_id":"4a73c84c62b24e3bda4319864ea6f2dd12b3d2e1","original_commit_id":"4a73c84c62b24e3bda4319864ea6f2dd12b3d2e1","user":{"login":"davidrf","id":9678182,"avatar_url":"https://avatars.githubusercontent.com/u/9678182?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrf","html_url":"https://github.com/davidrf","followers_url":"https://api.github.com/users/davidrf/followers","following_url":"https://api.github.com/users/davidrf/following{/other_user}","gists_url":"https://api.github.com/users/davidrf/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrf/subscriptions","organizations_url":"https://api.github.com/users/davidrf/orgs","repos_url":"https://api.github.com/users/davidrf/repos","events_url":"https://api.github.com/users/davidrf/events{/privacy}","received_events_url":"https://api.github.com/users/davidrf/received_events","type":"User","site_admin":false},"body":"Use a `let` statement here instead.","created_at":"2016-01-06T18:02:49Z","updated_at":"2016-01-06T18:02:49Z","html_url":"https://github.com/ABBennett/classical_review_site/pull/13#discussion_r48987701","pull_request_url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/comments/48987701"},"html":{"href":"https://github.com/ABBennett/classical_review_site/pull/13#discussion_r48987701"},"pull_request":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13","id":55241744,"html_url":"https://github.com/ABBennett/classical_review_site/pull/13","diff_url":"https://github.com/ABBennett/classical_review_site/pull/13.diff","patch_url":"https://github.com/ABBennett/classical_review_site/pull/13.patch","issue_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues/13","number":13,"state":"open","locked":false,"title":"Add reviews model","user":{"login":"edvio4","id":14100044,"avatar_url":"https://avatars.githubusercontent.com/u/14100044?v=3","gravatar_id":"","url":"https://api.github.com/users/edvio4","html_url":"https://github.com/edvio4","followers_url":"https://api.github.com/users/edvio4/followers","following_url":"https://api.github.com/users/edvio4/following{/other_user}","gists_url":"https://api.github.com/users/edvio4/gists{/gist_id}","starred_url":"https://api.github.com/users/edvio4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvio4/subscriptions","organizations_url":"https://api.github.com/users/edvio4/orgs","repos_url":"https://api.github.com/users/edvio4/repos","events_url":"https://api.github.com/users/edvio4/events{/privacy}","received_events_url":"https://api.github.com/users/edvio4/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-06T17:46:45Z","updated_at":"2016-01-06T18:02:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fda6119bd7b648011f192645205690e0c4b4fd74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13/commits","review_comments_url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13/comments","review_comment_url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues/13/comments","statuses_url":"https://api.github.com/repos/ABBennett/classical_review_site/statuses/4a73c84c62b24e3bda4319864ea6f2dd12b3d2e1","head":{"label":"ABBennett:add_reviews_model","ref":"add_reviews_model","sha":"4a73c84c62b24e3bda4319864ea6f2dd12b3d2e1","user":{"login":"ABBennett","id":13205479,"avatar_url":"https://avatars.githubusercontent.com/u/13205479?v=3","gravatar_id":"","url":"https://api.github.com/users/ABBennett","html_url":"https://github.com/ABBennett","followers_url":"https://api.github.com/users/ABBennett/followers","following_url":"https://api.github.com/users/ABBennett/following{/other_user}","gists_url":"https://api.github.com/users/ABBennett/gists{/gist_id}","starred_url":"https://api.github.com/users/ABBennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABBennett/subscriptions","organizations_url":"https://api.github.com/users/ABBennett/orgs","repos_url":"https://api.github.com/users/ABBennett/repos","events_url":"https://api.github.com/users/ABBennett/events{/privacy}","received_events_url":"https://api.github.com/users/ABBennett/received_events","type":"User","site_admin":false},"repo":{"id":49007082,"name":"classical_review_site","full_name":"ABBennett/classical_review_site","owner":{"login":"ABBennett","id":13205479,"avatar_url":"https://avatars.githubusercontent.com/u/13205479?v=3","gravatar_id":"","url":"https://api.github.com/users/ABBennett","html_url":"https://github.com/ABBennett","followers_url":"https://api.github.com/users/ABBennett/followers","following_url":"https://api.github.com/users/ABBennett/following{/other_user}","gists_url":"https://api.github.com/users/ABBennett/gists{/gist_id}","starred_url":"https://api.github.com/users/ABBennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABBennett/subscriptions","organizations_url":"https://api.github.com/users/ABBennett/orgs","repos_url":"https://api.github.com/users/ABBennett/repos","events_url":"https://api.github.com/users/ABBennett/events{/privacy}","received_events_url":"https://api.github.com/users/ABBennett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ABBennett/classical_review_site","description":null,"fork":false,"url":"https://api.github.com/repos/ABBennett/classical_review_site","forks_url":"https://api.github.com/repos/ABBennett/classical_review_site/forks","keys_url":"https://api.github.com/repos/ABBennett/classical_review_site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ABBennett/classical_review_site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ABBennett/classical_review_site/teams","hooks_url":"https://api.github.com/repos/ABBennett/classical_review_site/hooks","issue_events_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues/events{/number}","events_url":"https://api.github.com/repos/ABBennett/classical_review_site/events","assignees_url":"https://api.github.com/repos/ABBennett/classical_review_site/assignees{/user}","branches_url":"https://api.github.com/repos/ABBennett/classical_review_site/branches{/branch}","tags_url":"https://api.github.com/repos/ABBennett/classical_review_site/tags","blobs_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/refs{/sha}","trees_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ABBennett/classical_review_site/statuses/{sha}","languages_url":"https://api.github.com/repos/ABBennett/classical_review_site/languages","stargazers_url":"https://api.github.com/repos/ABBennett/classical_review_site/stargazers","contributors_url":"https://api.github.com/repos/ABBennett/classical_review_site/contributors","subscribers_url":"https://api.github.com/repos/ABBennett/classical_review_site/subscribers","subscription_url":"https://api.github.com/repos/ABBennett/classical_review_site/subscription","commits_url":"https://api.github.com/repos/ABBennett/classical_review_site/commits{/sha}","git_commits_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/commits{/sha}","comments_url":"https://api.github.com/repos/ABBennett/classical_review_site/comments{/number}","issue_comment_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues/comments{/number}","contents_url":"https://api.github.com/repos/ABBennett/classical_review_site/contents/{+path}","compare_url":"https://api.github.com/repos/ABBennett/classical_review_site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ABBennett/classical_review_site/merges","archive_url":"https://api.github.com/repos/ABBennett/classical_review_site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ABBennett/classical_review_site/downloads","issues_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues{/number}","pulls_url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls{/number}","milestones_url":"https://api.github.com/repos/ABBennett/classical_review_site/milestones{/number}","notifications_url":"https://api.github.com/repos/ABBennett/classical_review_site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ABBennett/classical_review_site/labels{/name}","releases_url":"https://api.github.com/repos/ABBennett/classical_review_site/releases{/id}","created_at":"2016-01-04T15:56:21Z","updated_at":"2016-01-04T15:56:28Z","pushed_at":"2016-01-06T17:52:51Z","git_url":"git://github.com/ABBennett/classical_review_site.git","ssh_url":"git@github.com:ABBennett/classical_review_site.git","clone_url":"https://github.com/ABBennett/classical_review_site.git","svn_url":"https://github.com/ABBennett/classical_review_site","homepage":null,"size":119,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ABBennett:master","ref":"master","sha":"c90f41f158174d8b14f70b08c8cce9fee0b1959e","user":{"login":"ABBennett","id":13205479,"avatar_url":"https://avatars.githubusercontent.com/u/13205479?v=3","gravatar_id":"","url":"https://api.github.com/users/ABBennett","html_url":"https://github.com/ABBennett","followers_url":"https://api.github.com/users/ABBennett/followers","following_url":"https://api.github.com/users/ABBennett/following{/other_user}","gists_url":"https://api.github.com/users/ABBennett/gists{/gist_id}","starred_url":"https://api.github.com/users/ABBennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABBennett/subscriptions","organizations_url":"https://api.github.com/users/ABBennett/orgs","repos_url":"https://api.github.com/users/ABBennett/repos","events_url":"https://api.github.com/users/ABBennett/events{/privacy}","received_events_url":"https://api.github.com/users/ABBennett/received_events","type":"User","site_admin":false},"repo":{"id":49007082,"name":"classical_review_site","full_name":"ABBennett/classical_review_site","owner":{"login":"ABBennett","id":13205479,"avatar_url":"https://avatars.githubusercontent.com/u/13205479?v=3","gravatar_id":"","url":"https://api.github.com/users/ABBennett","html_url":"https://github.com/ABBennett","followers_url":"https://api.github.com/users/ABBennett/followers","following_url":"https://api.github.com/users/ABBennett/following{/other_user}","gists_url":"https://api.github.com/users/ABBennett/gists{/gist_id}","starred_url":"https://api.github.com/users/ABBennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ABBennett/subscriptions","organizations_url":"https://api.github.com/users/ABBennett/orgs","repos_url":"https://api.github.com/users/ABBennett/repos","events_url":"https://api.github.com/users/ABBennett/events{/privacy}","received_events_url":"https://api.github.com/users/ABBennett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ABBennett/classical_review_site","description":null,"fork":false,"url":"https://api.github.com/repos/ABBennett/classical_review_site","forks_url":"https://api.github.com/repos/ABBennett/classical_review_site/forks","keys_url":"https://api.github.com/repos/ABBennett/classical_review_site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ABBennett/classical_review_site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ABBennett/classical_review_site/teams","hooks_url":"https://api.github.com/repos/ABBennett/classical_review_site/hooks","issue_events_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues/events{/number}","events_url":"https://api.github.com/repos/ABBennett/classical_review_site/events","assignees_url":"https://api.github.com/repos/ABBennett/classical_review_site/assignees{/user}","branches_url":"https://api.github.com/repos/ABBennett/classical_review_site/branches{/branch}","tags_url":"https://api.github.com/repos/ABBennett/classical_review_site/tags","blobs_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/refs{/sha}","trees_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ABBennett/classical_review_site/statuses/{sha}","languages_url":"https://api.github.com/repos/ABBennett/classical_review_site/languages","stargazers_url":"https://api.github.com/repos/ABBennett/classical_review_site/stargazers","contributors_url":"https://api.github.com/repos/ABBennett/classical_review_site/contributors","subscribers_url":"https://api.github.com/repos/ABBennett/classical_review_site/subscribers","subscription_url":"https://api.github.com/repos/ABBennett/classical_review_site/subscription","commits_url":"https://api.github.com/repos/ABBennett/classical_review_site/commits{/sha}","git_commits_url":"https://api.github.com/repos/ABBennett/classical_review_site/git/commits{/sha}","comments_url":"https://api.github.com/repos/ABBennett/classical_review_site/comments{/number}","issue_comment_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues/comments{/number}","contents_url":"https://api.github.com/repos/ABBennett/classical_review_site/contents/{+path}","compare_url":"https://api.github.com/repos/ABBennett/classical_review_site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ABBennett/classical_review_site/merges","archive_url":"https://api.github.com/repos/ABBennett/classical_review_site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ABBennett/classical_review_site/downloads","issues_url":"https://api.github.com/repos/ABBennett/classical_review_site/issues{/number}","pulls_url":"https://api.github.com/repos/ABBennett/classical_review_site/pulls{/number}","milestones_url":"https://api.github.com/repos/ABBennett/classical_review_site/milestones{/number}","notifications_url":"https://api.github.com/repos/ABBennett/classical_review_site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ABBennett/classical_review_site/labels{/name}","releases_url":"https://api.github.com/repos/ABBennett/classical_review_site/releases{/id}","created_at":"2016-01-04T15:56:21Z","updated_at":"2016-01-04T15:56:28Z","pushed_at":"2016-01-06T17:52:51Z","git_url":"git://github.com/ABBennett/classical_review_site.git","ssh_url":"git@github.com:ABBennett/classical_review_site.git","clone_url":"https://github.com/ABBennett/classical_review_site.git","svn_url":"https://github.com/ABBennett/classical_review_site","homepage":null,"size":119,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13"},"html":{"href":"https://github.com/ABBennett/classical_review_site/pull/13"},"issue":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/issues/13"},"comments":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/ABBennett/classical_review_site/statuses/4a73c84c62b24e3bda4319864ea6f2dd12b3d2e1"}}}}