{"action":"created","comment":{"url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/comments/22665604","id":22665604,"diff_hunk":"@@ -0,0 +1,90 @@\n+require \"rails_helper\"\n+feature \"user edits a review\", %{\n+\tAs a user,\n+\tI want to update my review\n+\tSo that I can edit an error, add a review body(or title), or change my opinion\n+  } do\n+\n+  # Acceptance Critieria:\n+  # [x] I must be logged in\n+  # [x] I can only edit my own review\n+  # [x] I can change the review body\n+  # [x] I can change the review title\n+  # [x] I can change the rating\n+  # [x] If I successfully update my comment I am a shown a success message\n+ \t# \t and taken to the drink's show page\n+\n+\tcontext \"authenticated user\" do\n+\t\tbefore(:each) do\n+\t\t\t@user1 = FactoryGirl.create(:user)\n+\n+\t\t\tvisit root_path\n+\n+\t\t\tclick_on \"Sign In\"\n+\n+\t\t\tfill_in \"Login\", with: @user1.email\n+\t\t\tfill_in \"Password\", with: @user1.password\n+\t\t\tclick_on \"Log in\"\n+\t\tend\n+\n+\t\tscenario \"User updates a review successfully with title & body\" do\n+\n+\t\t\treview = FactoryGirl.create(:review, user: @user1)\n+\t  \tdrink = Drink.find(review.drink_id)","path":"spec/features/reviews/user_edits_a_review_spec.rb","position":33,"original_position":33,"commit_id":"5d886caa5992d7c95d7654393f60005bc798c8c9","original_commit_id":"5d886caa5992d7c95d7654393f60005bc798c8c9","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Inconsistent indentation detected.<br>Tab detected.","created_at":"2015-01-08T17:20:44Z","updated_at":"2015-01-08T17:20:44Z","html_url":"https://github.com/dancernerd32/tipsy_tally/pull/28#discussion_r22665604","pull_request_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/comments/22665604"},"html":{"href":"https://github.com/dancernerd32/tipsy_tally/pull/28#discussion_r22665604"},"pull_request":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28","id":27042765,"html_url":"https://github.com/dancernerd32/tipsy_tally/pull/28","diff_url":"https://github.com/dancernerd32/tipsy_tally/pull/28.diff","patch_url":"https://github.com/dancernerd32/tipsy_tally/pull/28.patch","issue_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/28","number":28,"state":"open","locked":false,"title":"Edit reviews","user":{"login":"dancernerd32","id":8608337,"avatar_url":"https://avatars.githubusercontent.com/u/8608337?v=3","gravatar_id":"","url":"https://api.github.com/users/dancernerd32","html_url":"https://github.com/dancernerd32","followers_url":"https://api.github.com/users/dancernerd32/followers","following_url":"https://api.github.com/users/dancernerd32/following{/other_user}","gists_url":"https://api.github.com/users/dancernerd32/gists{/gist_id}","starred_url":"https://api.github.com/users/dancernerd32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancernerd32/subscriptions","organizations_url":"https://api.github.com/users/dancernerd32/orgs","repos_url":"https://api.github.com/users/dancernerd32/repos","events_url":"https://api.github.com/users/dancernerd32/events{/privacy}","received_events_url":"https://api.github.com/users/dancernerd32/received_events","type":"User","site_admin":false},"body":"Adds feature to edit reviews","created_at":"2015-01-08T17:04:07Z","updated_at":"2015-01-08T17:20:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ba0192789ecd2a76280dde51582a8de82574adf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28/commits","review_comments_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28/comments","review_comment_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/28/comments","statuses_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/statuses/5d886caa5992d7c95d7654393f60005bc798c8c9","head":{"label":"dancernerd32:edit-reviews","ref":"edit-reviews","sha":"5d886caa5992d7c95d7654393f60005bc798c8c9","user":{"login":"dancernerd32","id":8608337,"avatar_url":"https://avatars.githubusercontent.com/u/8608337?v=3","gravatar_id":"","url":"https://api.github.com/users/dancernerd32","html_url":"https://github.com/dancernerd32","followers_url":"https://api.github.com/users/dancernerd32/followers","following_url":"https://api.github.com/users/dancernerd32/following{/other_user}","gists_url":"https://api.github.com/users/dancernerd32/gists{/gist_id}","starred_url":"https://api.github.com/users/dancernerd32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancernerd32/subscriptions","organizations_url":"https://api.github.com/users/dancernerd32/orgs","repos_url":"https://api.github.com/users/dancernerd32/repos","events_url":"https://api.github.com/users/dancernerd32/events{/privacy}","received_events_url":"https://api.github.com/users/dancernerd32/received_events","type":"User","site_admin":false},"repo":{"id":28606742,"name":"tipsy_tally","full_name":"dancernerd32/tipsy_tally","owner":{"login":"dancernerd32","id":8608337,"avatar_url":"https://avatars.githubusercontent.com/u/8608337?v=3","gravatar_id":"","url":"https://api.github.com/users/dancernerd32","html_url":"https://github.com/dancernerd32","followers_url":"https://api.github.com/users/dancernerd32/followers","following_url":"https://api.github.com/users/dancernerd32/following{/other_user}","gists_url":"https://api.github.com/users/dancernerd32/gists{/gist_id}","starred_url":"https://api.github.com/users/dancernerd32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancernerd32/subscriptions","organizations_url":"https://api.github.com/users/dancernerd32/orgs","repos_url":"https://api.github.com/users/dancernerd32/repos","events_url":"https://api.github.com/users/dancernerd32/events{/privacy}","received_events_url":"https://api.github.com/users/dancernerd32/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dancernerd32/tipsy_tally","description":"","fork":false,"url":"https://api.github.com/repos/dancernerd32/tipsy_tally","forks_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/forks","keys_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/teams","hooks_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/hooks","issue_events_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/events{/number}","events_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/events","assignees_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/assignees{/user}","branches_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/branches{/branch}","tags_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/tags","blobs_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/refs{/sha}","trees_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/statuses/{sha}","languages_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/languages","stargazers_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/stargazers","contributors_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/contributors","subscribers_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/subscribers","subscription_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/subscription","commits_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/commits{/sha}","git_commits_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/commits{/sha}","comments_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/comments{/number}","issue_comment_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/comments/{number}","contents_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/contents/{+path}","compare_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/merges","archive_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/downloads","issues_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues{/number}","pulls_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls{/number}","milestones_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/milestones{/number}","notifications_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/labels{/name}","releases_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/releases{/id}","created_at":"2014-12-29T21:15:48Z","updated_at":"2015-01-08T15:44:39Z","pushed_at":"2015-01-08T17:20:32Z","git_url":"git://github.com/dancernerd32/tipsy_tally.git","ssh_url":"git@github.com:dancernerd32/tipsy_tally.git","clone_url":"https://github.com/dancernerd32/tipsy_tally.git","svn_url":"https://github.com/dancernerd32/tipsy_tally","homepage":null,"size":3055,"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":"dancernerd32:master","ref":"master","sha":"3a1f20698985d69aeec7cf5c947e43932ff9daf4","user":{"login":"dancernerd32","id":8608337,"avatar_url":"https://avatars.githubusercontent.com/u/8608337?v=3","gravatar_id":"","url":"https://api.github.com/users/dancernerd32","html_url":"https://github.com/dancernerd32","followers_url":"https://api.github.com/users/dancernerd32/followers","following_url":"https://api.github.com/users/dancernerd32/following{/other_user}","gists_url":"https://api.github.com/users/dancernerd32/gists{/gist_id}","starred_url":"https://api.github.com/users/dancernerd32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancernerd32/subscriptions","organizations_url":"https://api.github.com/users/dancernerd32/orgs","repos_url":"https://api.github.com/users/dancernerd32/repos","events_url":"https://api.github.com/users/dancernerd32/events{/privacy}","received_events_url":"https://api.github.com/users/dancernerd32/received_events","type":"User","site_admin":false},"repo":{"id":28606742,"name":"tipsy_tally","full_name":"dancernerd32/tipsy_tally","owner":{"login":"dancernerd32","id":8608337,"avatar_url":"https://avatars.githubusercontent.com/u/8608337?v=3","gravatar_id":"","url":"https://api.github.com/users/dancernerd32","html_url":"https://github.com/dancernerd32","followers_url":"https://api.github.com/users/dancernerd32/followers","following_url":"https://api.github.com/users/dancernerd32/following{/other_user}","gists_url":"https://api.github.com/users/dancernerd32/gists{/gist_id}","starred_url":"https://api.github.com/users/dancernerd32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancernerd32/subscriptions","organizations_url":"https://api.github.com/users/dancernerd32/orgs","repos_url":"https://api.github.com/users/dancernerd32/repos","events_url":"https://api.github.com/users/dancernerd32/events{/privacy}","received_events_url":"https://api.github.com/users/dancernerd32/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dancernerd32/tipsy_tally","description":"","fork":false,"url":"https://api.github.com/repos/dancernerd32/tipsy_tally","forks_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/forks","keys_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/teams","hooks_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/hooks","issue_events_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/events{/number}","events_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/events","assignees_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/assignees{/user}","branches_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/branches{/branch}","tags_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/tags","blobs_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/refs{/sha}","trees_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/statuses/{sha}","languages_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/languages","stargazers_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/stargazers","contributors_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/contributors","subscribers_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/subscribers","subscription_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/subscription","commits_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/commits{/sha}","git_commits_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/git/commits{/sha}","comments_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/comments{/number}","issue_comment_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/comments/{number}","contents_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/contents/{+path}","compare_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/merges","archive_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/downloads","issues_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues{/number}","pulls_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls{/number}","milestones_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/milestones{/number}","notifications_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/labels{/name}","releases_url":"https://api.github.com/repos/dancernerd32/tipsy_tally/releases{/id}","created_at":"2014-12-29T21:15:48Z","updated_at":"2015-01-08T15:44:39Z","pushed_at":"2015-01-08T17:20:32Z","git_url":"git://github.com/dancernerd32/tipsy_tally.git","ssh_url":"git@github.com:dancernerd32/tipsy_tally.git","clone_url":"https://github.com/dancernerd32/tipsy_tally.git","svn_url":"https://github.com/dancernerd32/tipsy_tally","homepage":null,"size":3055,"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/dancernerd32/tipsy_tally/pulls/28"},"html":{"href":"https://github.com/dancernerd32/tipsy_tally/pull/28"},"issue":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/28"},"comments":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/dancernerd32/tipsy_tally/statuses/5d886caa5992d7c95d7654393f60005bc798c8c9"}}}}