{"action":"created","comment":{"url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/comments/47415671","id":47415671,"diff_hunk":"@@ -47,4 +47,39 @@\n     expect(page).to have_content(\"Changes saved!\")\n     expect(page).not_to have_content(\"Must specify a name and/or address\")\n   end\n+\n+  scenario \"authenticated user successfully edits an adventure's bucket list\" do\n+    user = FactoryGirl.create(:user)\n+    visit new_user_session_path\n+    fill_in 'Email', with: user.email\n+    fill_in 'Password', with: user.password\n+    click_button 'Log in'\n+    bucket_list_1 = FactoryGirl.create(\n+      :bucket_list,\n+      title: \"Australia\",\n+      user_id: user.id\n+    )\n+    bucket_list_2 = FactoryGirl.create(\n+      :bucket_list,\n+      title: \"Outerspace\",\n+      user_id: user.id\n+    )\n+    adventure = FactoryGirl.create(:adventure)\n+    adventure_user = FactoryGirl.create(\n+      :adventure_user,\n+      adventure_id: adventure.id,\n+      user_id: user.id\n+    )\n+    bucket_list_adventure = FactoryGirl.create(:bucket_list_adventure,","path":"spec/features/adventures/user_edits_adventure_spec.rb","position":36,"original_position":36,"commit_id":"b97b567cc3d66573ffdc62ab20d3da3c85935380","original_commit_id":"b97b567cc3d66573ffdc62ab20d3da3c85935380","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":"Useless assignment to variable - `bucket_list_adventure`.","created_at":"2015-12-11T22:54:29Z","updated_at":"2015-12-11T22:54:29Z","html_url":"https://github.com/AjaDelGaudio/travel-go/pull/62#discussion_r47415671","pull_request_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/comments/47415671"},"html":{"href":"https://github.com/AjaDelGaudio/travel-go/pull/62#discussion_r47415671"},"pull_request":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62","id":53454674,"html_url":"https://github.com/AjaDelGaudio/travel-go/pull/62","diff_url":"https://github.com/AjaDelGaudio/travel-go/pull/62.diff","patch_url":"https://github.com/AjaDelGaudio/travel-go/pull/62.patch","issue_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/62","number":62,"state":"open","locked":false,"title":"Refactor adventures feature tests 10","user":{"login":"AjaDelGaudio","id":11579565,"avatar_url":"https://avatars.githubusercontent.com/u/11579565?v=3","gravatar_id":"","url":"https://api.github.com/users/AjaDelGaudio","html_url":"https://github.com/AjaDelGaudio","followers_url":"https://api.github.com/users/AjaDelGaudio/followers","following_url":"https://api.github.com/users/AjaDelGaudio/following{/other_user}","gists_url":"https://api.github.com/users/AjaDelGaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AjaDelGaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjaDelGaudio/subscriptions","organizations_url":"https://api.github.com/users/AjaDelGaudio/orgs","repos_url":"https://api.github.com/users/AjaDelGaudio/repos","events_url":"https://api.github.com/users/AjaDelGaudio/events{/privacy}","received_events_url":"https://api.github.com/users/AjaDelGaudio/received_events","type":"User","site_admin":false},"body":"- edit bucket_list_sign_in helper to create user with factory girl first (instead of bucket_list)\r\n- add feature test for authenticated users to successfully change the bucket list associated with an adventure","created_at":"2015-12-11T22:54:25Z","updated_at":"2015-12-11T22:54:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b069bb94d99ec3967fa9cb6fdc16dba04ff2cc69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62/commits","review_comments_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62/comments","review_comment_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/62/comments","statuses_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/statuses/b97b567cc3d66573ffdc62ab20d3da3c85935380","head":{"label":"AjaDelGaudio:refactor-adventures-feature-tests-10","ref":"refactor-adventures-feature-tests-10","sha":"b97b567cc3d66573ffdc62ab20d3da3c85935380","user":{"login":"AjaDelGaudio","id":11579565,"avatar_url":"https://avatars.githubusercontent.com/u/11579565?v=3","gravatar_id":"","url":"https://api.github.com/users/AjaDelGaudio","html_url":"https://github.com/AjaDelGaudio","followers_url":"https://api.github.com/users/AjaDelGaudio/followers","following_url":"https://api.github.com/users/AjaDelGaudio/following{/other_user}","gists_url":"https://api.github.com/users/AjaDelGaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AjaDelGaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjaDelGaudio/subscriptions","organizations_url":"https://api.github.com/users/AjaDelGaudio/orgs","repos_url":"https://api.github.com/users/AjaDelGaudio/repos","events_url":"https://api.github.com/users/AjaDelGaudio/events{/privacy}","received_events_url":"https://api.github.com/users/AjaDelGaudio/received_events","type":"User","site_admin":false},"repo":{"id":43715794,"name":"travel-go","full_name":"AjaDelGaudio/travel-go","owner":{"login":"AjaDelGaudio","id":11579565,"avatar_url":"https://avatars.githubusercontent.com/u/11579565?v=3","gravatar_id":"","url":"https://api.github.com/users/AjaDelGaudio","html_url":"https://github.com/AjaDelGaudio","followers_url":"https://api.github.com/users/AjaDelGaudio/followers","following_url":"https://api.github.com/users/AjaDelGaudio/following{/other_user}","gists_url":"https://api.github.com/users/AjaDelGaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AjaDelGaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjaDelGaudio/subscriptions","organizations_url":"https://api.github.com/users/AjaDelGaudio/orgs","repos_url":"https://api.github.com/users/AjaDelGaudio/repos","events_url":"https://api.github.com/users/AjaDelGaudio/events{/privacy}","received_events_url":"https://api.github.com/users/AjaDelGaudio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AjaDelGaudio/travel-go","description":"","fork":false,"url":"https://api.github.com/repos/AjaDelGaudio/travel-go","forks_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/forks","keys_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/teams","hooks_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/hooks","issue_events_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/events{/number}","events_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/events","assignees_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/assignees{/user}","branches_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/branches{/branch}","tags_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/tags","blobs_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/statuses/{sha}","languages_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/languages","stargazers_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/stargazers","contributors_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/contributors","subscribers_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/subscribers","subscription_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/subscription","commits_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/contents/{+path}","compare_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/merges","archive_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/downloads","issues_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues{/number}","pulls_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls{/number}","milestones_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/milestones{/number}","notifications_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/labels{/name}","releases_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/releases{/id}","created_at":"2015-10-05T21:50:54Z","updated_at":"2015-10-14T21:01:55Z","pushed_at":"2015-12-11T22:54:26Z","git_url":"git://github.com/AjaDelGaudio/travel-go.git","ssh_url":"git@github.com:AjaDelGaudio/travel-go.git","clone_url":"https://github.com/AjaDelGaudio/travel-go.git","svn_url":"https://github.com/AjaDelGaudio/travel-go","homepage":null,"size":7824,"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":"AjaDelGaudio:master","ref":"master","sha":"2cf4a9602e8402c8447475dbc848def8034465aa","user":{"login":"AjaDelGaudio","id":11579565,"avatar_url":"https://avatars.githubusercontent.com/u/11579565?v=3","gravatar_id":"","url":"https://api.github.com/users/AjaDelGaudio","html_url":"https://github.com/AjaDelGaudio","followers_url":"https://api.github.com/users/AjaDelGaudio/followers","following_url":"https://api.github.com/users/AjaDelGaudio/following{/other_user}","gists_url":"https://api.github.com/users/AjaDelGaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AjaDelGaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjaDelGaudio/subscriptions","organizations_url":"https://api.github.com/users/AjaDelGaudio/orgs","repos_url":"https://api.github.com/users/AjaDelGaudio/repos","events_url":"https://api.github.com/users/AjaDelGaudio/events{/privacy}","received_events_url":"https://api.github.com/users/AjaDelGaudio/received_events","type":"User","site_admin":false},"repo":{"id":43715794,"name":"travel-go","full_name":"AjaDelGaudio/travel-go","owner":{"login":"AjaDelGaudio","id":11579565,"avatar_url":"https://avatars.githubusercontent.com/u/11579565?v=3","gravatar_id":"","url":"https://api.github.com/users/AjaDelGaudio","html_url":"https://github.com/AjaDelGaudio","followers_url":"https://api.github.com/users/AjaDelGaudio/followers","following_url":"https://api.github.com/users/AjaDelGaudio/following{/other_user}","gists_url":"https://api.github.com/users/AjaDelGaudio/gists{/gist_id}","starred_url":"https://api.github.com/users/AjaDelGaudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjaDelGaudio/subscriptions","organizations_url":"https://api.github.com/users/AjaDelGaudio/orgs","repos_url":"https://api.github.com/users/AjaDelGaudio/repos","events_url":"https://api.github.com/users/AjaDelGaudio/events{/privacy}","received_events_url":"https://api.github.com/users/AjaDelGaudio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AjaDelGaudio/travel-go","description":"","fork":false,"url":"https://api.github.com/repos/AjaDelGaudio/travel-go","forks_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/forks","keys_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/teams","hooks_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/hooks","issue_events_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/events{/number}","events_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/events","assignees_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/assignees{/user}","branches_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/branches{/branch}","tags_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/tags","blobs_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/statuses/{sha}","languages_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/languages","stargazers_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/stargazers","contributors_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/contributors","subscribers_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/subscribers","subscription_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/subscription","commits_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/contents/{+path}","compare_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/merges","archive_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/downloads","issues_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues{/number}","pulls_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls{/number}","milestones_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/milestones{/number}","notifications_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/labels{/name}","releases_url":"https://api.github.com/repos/AjaDelGaudio/travel-go/releases{/id}","created_at":"2015-10-05T21:50:54Z","updated_at":"2015-10-14T21:01:55Z","pushed_at":"2015-12-11T22:54:26Z","git_url":"git://github.com/AjaDelGaudio/travel-go.git","ssh_url":"git@github.com:AjaDelGaudio/travel-go.git","clone_url":"https://github.com/AjaDelGaudio/travel-go.git","svn_url":"https://github.com/AjaDelGaudio/travel-go","homepage":null,"size":7824,"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/AjaDelGaudio/travel-go/pulls/62"},"html":{"href":"https://github.com/AjaDelGaudio/travel-go/pull/62"},"issue":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/62"},"comments":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/AjaDelGaudio/travel-go/statuses/b97b567cc3d66573ffdc62ab20d3da3c85935380"}}}}