{"action":"created","comment":{"url":"https://api.github.com/repos/cvdemp/spooky-house/pulls/comments/35172884","id":35172884,"diff_hunk":"@@ -3,35 +3,28 @@\n feature 'user edits character', %{\n   As a player\n   I want to edit a character\n-  So I can add them to my game\n+  So I can change their stats\n } do\n \n   # Acceptance Criteria\n-  # [] Player can update a character\n-  # [] Player can chose a character to play\n-  # [] Character is added to game\n-  # [] Player sees an error if character is currently in use\n-\n-  # scenario 'user edits character' do\n-  #   character = FactoryGirl.create(:character)\n-  #   user = FactoryGirl.create(:user)\n-  #   game = FactoryGirl.create(:game)\n-  #\n-  #   sign_in_as(user)\n-  #\n-  #   visit games_path\n-  #\n-  #   click_link(game.name)\n-  #\n-  #   click_link(character.name)\n-  #\n-  #   expect(page).to have_content(\"Character Added!\")\n-  #\n-  #   click_link(game.name)\n-  #\n-  #   within \"div.players\" do\n-  #     expect(page).to have_content(character.name)\n-  #   end\n-  # end\n+  # [] Player can edit a character\n+  # [] Player sees an error if form is filled out incorrectly\n+\n+  scenario 'user edits character' do\n+    user = FactoryGirl.create(:user)\n+    character = FactoryGirl.create(:character, user_id: user.id)\n+    ","path":"spec/features/characters/user_edits_character_spec.rb","position":41,"original_position":41,"commit_id":"257e2bb3c6cbd5a877b20911499194406a7f7905","original_commit_id":"257e2bb3c6cbd5a877b20911499194406a7f7905","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":"Trailing whitespace detected.","created_at":"2015-07-22T01:14:37Z","updated_at":"2015-07-22T01:14:37Z","html_url":"https://github.com/cvdemp/spooky-house/pull/8#discussion_r35172884","pull_request_url":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/cvdemp/spooky-house/pulls/comments/35172884"},"html":{"href":"https://github.com/cvdemp/spooky-house/pull/8#discussion_r35172884"},"pull_request":{"href":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8","id":40521803,"html_url":"https://github.com/cvdemp/spooky-house/pull/8","diff_url":"https://github.com/cvdemp/spooky-house/pull/8.diff","patch_url":"https://github.com/cvdemp/spooky-house/pull/8.patch","issue_url":"https://api.github.com/repos/cvdemp/spooky-house/issues/8","number":8,"state":"open","locked":false,"title":"Add edit function","user":{"login":"cvdemp","id":11430530,"avatar_url":"https://avatars.githubusercontent.com/u/11430530?v=3","gravatar_id":"","url":"https://api.github.com/users/cvdemp","html_url":"https://github.com/cvdemp","followers_url":"https://api.github.com/users/cvdemp/followers","following_url":"https://api.github.com/users/cvdemp/following{/other_user}","gists_url":"https://api.github.com/users/cvdemp/gists{/gist_id}","starred_url":"https://api.github.com/users/cvdemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvdemp/subscriptions","organizations_url":"https://api.github.com/users/cvdemp/orgs","repos_url":"https://api.github.com/users/cvdemp/repos","events_url":"https://api.github.com/users/cvdemp/events{/privacy}","received_events_url":"https://api.github.com/users/cvdemp/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-22T01:14:29Z","updated_at":"2015-07-22T01:14:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e417acd564995bbcba424561712f1ec0e501ee8d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8/commits","review_comments_url":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8/comments","review_comment_url":"https://api.github.com/repos/cvdemp/spooky-house/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cvdemp/spooky-house/issues/8/comments","statuses_url":"https://api.github.com/repos/cvdemp/spooky-house/statuses/257e2bb3c6cbd5a877b20911499194406a7f7905","head":{"label":"cvdemp:delete-characters","ref":"delete-characters","sha":"257e2bb3c6cbd5a877b20911499194406a7f7905","user":{"login":"cvdemp","id":11430530,"avatar_url":"https://avatars.githubusercontent.com/u/11430530?v=3","gravatar_id":"","url":"https://api.github.com/users/cvdemp","html_url":"https://github.com/cvdemp","followers_url":"https://api.github.com/users/cvdemp/followers","following_url":"https://api.github.com/users/cvdemp/following{/other_user}","gists_url":"https://api.github.com/users/cvdemp/gists{/gist_id}","starred_url":"https://api.github.com/users/cvdemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvdemp/subscriptions","organizations_url":"https://api.github.com/users/cvdemp/orgs","repos_url":"https://api.github.com/users/cvdemp/repos","events_url":"https://api.github.com/users/cvdemp/events{/privacy}","received_events_url":"https://api.github.com/users/cvdemp/received_events","type":"User","site_admin":false},"repo":{"id":39079895,"name":"spooky-house","full_name":"cvdemp/spooky-house","owner":{"login":"cvdemp","id":11430530,"avatar_url":"https://avatars.githubusercontent.com/u/11430530?v=3","gravatar_id":"","url":"https://api.github.com/users/cvdemp","html_url":"https://github.com/cvdemp","followers_url":"https://api.github.com/users/cvdemp/followers","following_url":"https://api.github.com/users/cvdemp/following{/other_user}","gists_url":"https://api.github.com/users/cvdemp/gists{/gist_id}","starred_url":"https://api.github.com/users/cvdemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvdemp/subscriptions","organizations_url":"https://api.github.com/users/cvdemp/orgs","repos_url":"https://api.github.com/users/cvdemp/repos","events_url":"https://api.github.com/users/cvdemp/events{/privacy}","received_events_url":"https://api.github.com/users/cvdemp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cvdemp/spooky-house","description":"","fork":false,"url":"https://api.github.com/repos/cvdemp/spooky-house","forks_url":"https://api.github.com/repos/cvdemp/spooky-house/forks","keys_url":"https://api.github.com/repos/cvdemp/spooky-house/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvdemp/spooky-house/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvdemp/spooky-house/teams","hooks_url":"https://api.github.com/repos/cvdemp/spooky-house/hooks","issue_events_url":"https://api.github.com/repos/cvdemp/spooky-house/issues/events{/number}","events_url":"https://api.github.com/repos/cvdemp/spooky-house/events","assignees_url":"https://api.github.com/repos/cvdemp/spooky-house/assignees{/user}","branches_url":"https://api.github.com/repos/cvdemp/spooky-house/branches{/branch}","tags_url":"https://api.github.com/repos/cvdemp/spooky-house/tags","blobs_url":"https://api.github.com/repos/cvdemp/spooky-house/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvdemp/spooky-house/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvdemp/spooky-house/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvdemp/spooky-house/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvdemp/spooky-house/statuses/{sha}","languages_url":"https://api.github.com/repos/cvdemp/spooky-house/languages","stargazers_url":"https://api.github.com/repos/cvdemp/spooky-house/stargazers","contributors_url":"https://api.github.com/repos/cvdemp/spooky-house/contributors","subscribers_url":"https://api.github.com/repos/cvdemp/spooky-house/subscribers","subscription_url":"https://api.github.com/repos/cvdemp/spooky-house/subscription","commits_url":"https://api.github.com/repos/cvdemp/spooky-house/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvdemp/spooky-house/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvdemp/spooky-house/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvdemp/spooky-house/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvdemp/spooky-house/contents/{+path}","compare_url":"https://api.github.com/repos/cvdemp/spooky-house/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvdemp/spooky-house/merges","archive_url":"https://api.github.com/repos/cvdemp/spooky-house/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvdemp/spooky-house/downloads","issues_url":"https://api.github.com/repos/cvdemp/spooky-house/issues{/number}","pulls_url":"https://api.github.com/repos/cvdemp/spooky-house/pulls{/number}","milestones_url":"https://api.github.com/repos/cvdemp/spooky-house/milestones{/number}","notifications_url":"https://api.github.com/repos/cvdemp/spooky-house/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvdemp/spooky-house/labels{/name}","releases_url":"https://api.github.com/repos/cvdemp/spooky-house/releases{/id}","created_at":"2015-07-14T14:32:11Z","updated_at":"2015-07-15T16:04:48Z","pushed_at":"2015-07-22T01:14:29Z","git_url":"git://github.com/cvdemp/spooky-house.git","ssh_url":"git@github.com:cvdemp/spooky-house.git","clone_url":"https://github.com/cvdemp/spooky-house.git","svn_url":"https://github.com/cvdemp/spooky-house","homepage":null,"size":1888,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cvdemp:master","ref":"master","sha":"6d1beda65cd4012f99c7b30ccf45e2b26a1c6f2a","user":{"login":"cvdemp","id":11430530,"avatar_url":"https://avatars.githubusercontent.com/u/11430530?v=3","gravatar_id":"","url":"https://api.github.com/users/cvdemp","html_url":"https://github.com/cvdemp","followers_url":"https://api.github.com/users/cvdemp/followers","following_url":"https://api.github.com/users/cvdemp/following{/other_user}","gists_url":"https://api.github.com/users/cvdemp/gists{/gist_id}","starred_url":"https://api.github.com/users/cvdemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvdemp/subscriptions","organizations_url":"https://api.github.com/users/cvdemp/orgs","repos_url":"https://api.github.com/users/cvdemp/repos","events_url":"https://api.github.com/users/cvdemp/events{/privacy}","received_events_url":"https://api.github.com/users/cvdemp/received_events","type":"User","site_admin":false},"repo":{"id":39079895,"name":"spooky-house","full_name":"cvdemp/spooky-house","owner":{"login":"cvdemp","id":11430530,"avatar_url":"https://avatars.githubusercontent.com/u/11430530?v=3","gravatar_id":"","url":"https://api.github.com/users/cvdemp","html_url":"https://github.com/cvdemp","followers_url":"https://api.github.com/users/cvdemp/followers","following_url":"https://api.github.com/users/cvdemp/following{/other_user}","gists_url":"https://api.github.com/users/cvdemp/gists{/gist_id}","starred_url":"https://api.github.com/users/cvdemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvdemp/subscriptions","organizations_url":"https://api.github.com/users/cvdemp/orgs","repos_url":"https://api.github.com/users/cvdemp/repos","events_url":"https://api.github.com/users/cvdemp/events{/privacy}","received_events_url":"https://api.github.com/users/cvdemp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cvdemp/spooky-house","description":"","fork":false,"url":"https://api.github.com/repos/cvdemp/spooky-house","forks_url":"https://api.github.com/repos/cvdemp/spooky-house/forks","keys_url":"https://api.github.com/repos/cvdemp/spooky-house/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cvdemp/spooky-house/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cvdemp/spooky-house/teams","hooks_url":"https://api.github.com/repos/cvdemp/spooky-house/hooks","issue_events_url":"https://api.github.com/repos/cvdemp/spooky-house/issues/events{/number}","events_url":"https://api.github.com/repos/cvdemp/spooky-house/events","assignees_url":"https://api.github.com/repos/cvdemp/spooky-house/assignees{/user}","branches_url":"https://api.github.com/repos/cvdemp/spooky-house/branches{/branch}","tags_url":"https://api.github.com/repos/cvdemp/spooky-house/tags","blobs_url":"https://api.github.com/repos/cvdemp/spooky-house/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cvdemp/spooky-house/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cvdemp/spooky-house/git/refs{/sha}","trees_url":"https://api.github.com/repos/cvdemp/spooky-house/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cvdemp/spooky-house/statuses/{sha}","languages_url":"https://api.github.com/repos/cvdemp/spooky-house/languages","stargazers_url":"https://api.github.com/repos/cvdemp/spooky-house/stargazers","contributors_url":"https://api.github.com/repos/cvdemp/spooky-house/contributors","subscribers_url":"https://api.github.com/repos/cvdemp/spooky-house/subscribers","subscription_url":"https://api.github.com/repos/cvdemp/spooky-house/subscription","commits_url":"https://api.github.com/repos/cvdemp/spooky-house/commits{/sha}","git_commits_url":"https://api.github.com/repos/cvdemp/spooky-house/git/commits{/sha}","comments_url":"https://api.github.com/repos/cvdemp/spooky-house/comments{/number}","issue_comment_url":"https://api.github.com/repos/cvdemp/spooky-house/issues/comments{/number}","contents_url":"https://api.github.com/repos/cvdemp/spooky-house/contents/{+path}","compare_url":"https://api.github.com/repos/cvdemp/spooky-house/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cvdemp/spooky-house/merges","archive_url":"https://api.github.com/repos/cvdemp/spooky-house/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cvdemp/spooky-house/downloads","issues_url":"https://api.github.com/repos/cvdemp/spooky-house/issues{/number}","pulls_url":"https://api.github.com/repos/cvdemp/spooky-house/pulls{/number}","milestones_url":"https://api.github.com/repos/cvdemp/spooky-house/milestones{/number}","notifications_url":"https://api.github.com/repos/cvdemp/spooky-house/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cvdemp/spooky-house/labels{/name}","releases_url":"https://api.github.com/repos/cvdemp/spooky-house/releases{/id}","created_at":"2015-07-14T14:32:11Z","updated_at":"2015-07-15T16:04:48Z","pushed_at":"2015-07-22T01:14:29Z","git_url":"git://github.com/cvdemp/spooky-house.git","ssh_url":"git@github.com:cvdemp/spooky-house.git","clone_url":"https://github.com/cvdemp/spooky-house.git","svn_url":"https://github.com/cvdemp/spooky-house","homepage":null,"size":1888,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8"},"html":{"href":"https://github.com/cvdemp/spooky-house/pull/8"},"issue":{"href":"https://api.github.com/repos/cvdemp/spooky-house/issues/8"},"comments":{"href":"https://api.github.com/repos/cvdemp/spooky-house/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/cvdemp/spooky-house/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cvdemp/spooky-house/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/cvdemp/spooky-house/statuses/257e2bb3c6cbd5a877b20911499194406a7f7905"}}}}