{"action":"created","comment":{"url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/comments/72624901","id":72624901,"diff_hunk":"@@ -0,0 +1,42 @@\n+require 'rails_helper'\n+\n+describe 'Visitor cart items can persist into login' do\n+  scenario 'they see login or create account instead of checkout' do\n+    gnome_one, gnome_two = create_list(:gnome, 2)\n+    page.set_rack_session(:bucket => {gnome_one.id => 1,\n+                                      gnome_two.id => 1})\n+\n+    visit gnomes_path\n+\n+    click_link 'View bucket'\n+\n+    expect(page).to have_content(\"Login or Create Account to checkout\")\n+    expect(page).not_to have_button(\"Checkout\")","path":"spec/features/visitor_cart_persists_through_login_spec.rb","position":14,"original_position":14,"commit_id":"c7f7efd3e391f45020fd54a020e829945a0ea2b7","original_commit_id":"c7f7efd3e391f45020fd54a020e829945a0ea2b7","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 single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-07-28T13:49:54Z","updated_at":"2016-07-28T13:49:54Z","html_url":"https://github.com/pwentz/game_of_gnomes/pull/29#discussion_r72624901","pull_request_url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/comments/72624901"},"html":{"href":"https://github.com/pwentz/game_of_gnomes/pull/29#discussion_r72624901"},"pull_request":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29","id":79198977,"html_url":"https://github.com/pwentz/game_of_gnomes/pull/29","diff_url":"https://github.com/pwentz/game_of_gnomes/pull/29.diff","patch_url":"https://github.com/pwentz/game_of_gnomes/pull/29.patch","issue_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/29","number":29,"state":"open","locked":false,"title":"6 guest cart persists into login","user":{"login":"kbs5280","id":16337318,"avatar_url":"https://avatars.githubusercontent.com/u/16337318?v=3","gravatar_id":"","url":"https://api.github.com/users/kbs5280","html_url":"https://github.com/kbs5280","followers_url":"https://api.github.com/users/kbs5280/followers","following_url":"https://api.github.com/users/kbs5280/following{/other_user}","gists_url":"https://api.github.com/users/kbs5280/gists{/gist_id}","starred_url":"https://api.github.com/users/kbs5280/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbs5280/subscriptions","organizations_url":"https://api.github.com/users/kbs5280/orgs","repos_url":"https://api.github.com/users/kbs5280/repos","events_url":"https://api.github.com/users/kbs5280/events{/privacy}","received_events_url":"https://api.github.com/users/kbs5280/received_events","type":"User","site_admin":false},"body":"Add login, logout, cart persistence for visitor to user  …\r\nAdded tests to confirm cart items remain available to vistor after visitor creates\r\na new account. User sees logout button when logged in and login in button when logged\r\nout. Functionality needs to be implemented throughout the site via the navbar, once\r\nwe can merge the frontend and backend code.","created_at":"2016-07-28T13:49:47Z","updated_at":"2016-07-28T13:49:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ddb5767c17923889d8792323156d4957fb8f270","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29/commits","review_comments_url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29/comments","review_comment_url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/29/comments","statuses_url":"https://api.github.com/repos/pwentz/game_of_gnomes/statuses/c7f7efd3e391f45020fd54a020e829945a0ea2b7","head":{"label":"pwentz:6_guest_cart_persists_into_login","ref":"6_guest_cart_persists_into_login","sha":"c7f7efd3e391f45020fd54a020e829945a0ea2b7","user":{"login":"pwentz","id":18466392,"avatar_url":"https://avatars.githubusercontent.com/u/18466392?v=3","gravatar_id":"","url":"https://api.github.com/users/pwentz","html_url":"https://github.com/pwentz","followers_url":"https://api.github.com/users/pwentz/followers","following_url":"https://api.github.com/users/pwentz/following{/other_user}","gists_url":"https://api.github.com/users/pwentz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwentz/subscriptions","organizations_url":"https://api.github.com/users/pwentz/orgs","repos_url":"https://api.github.com/users/pwentz/repos","events_url":"https://api.github.com/users/pwentz/events{/privacy}","received_events_url":"https://api.github.com/users/pwentz/received_events","type":"User","site_admin":false},"repo":{"id":64240616,"name":"game_of_gnomes","full_name":"pwentz/game_of_gnomes","owner":{"login":"pwentz","id":18466392,"avatar_url":"https://avatars.githubusercontent.com/u/18466392?v=3","gravatar_id":"","url":"https://api.github.com/users/pwentz","html_url":"https://github.com/pwentz","followers_url":"https://api.github.com/users/pwentz/followers","following_url":"https://api.github.com/users/pwentz/following{/other_user}","gists_url":"https://api.github.com/users/pwentz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwentz/subscriptions","organizations_url":"https://api.github.com/users/pwentz/orgs","repos_url":"https://api.github.com/users/pwentz/repos","events_url":"https://api.github.com/users/pwentz/events{/privacy}","received_events_url":"https://api.github.com/users/pwentz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwentz/game_of_gnomes","description":null,"fork":false,"url":"https://api.github.com/repos/pwentz/game_of_gnomes","forks_url":"https://api.github.com/repos/pwentz/game_of_gnomes/forks","keys_url":"https://api.github.com/repos/pwentz/game_of_gnomes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwentz/game_of_gnomes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwentz/game_of_gnomes/teams","hooks_url":"https://api.github.com/repos/pwentz/game_of_gnomes/hooks","issue_events_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/events{/number}","events_url":"https://api.github.com/repos/pwentz/game_of_gnomes/events","assignees_url":"https://api.github.com/repos/pwentz/game_of_gnomes/assignees{/user}","branches_url":"https://api.github.com/repos/pwentz/game_of_gnomes/branches{/branch}","tags_url":"https://api.github.com/repos/pwentz/game_of_gnomes/tags","blobs_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwentz/game_of_gnomes/statuses/{sha}","languages_url":"https://api.github.com/repos/pwentz/game_of_gnomes/languages","stargazers_url":"https://api.github.com/repos/pwentz/game_of_gnomes/stargazers","contributors_url":"https://api.github.com/repos/pwentz/game_of_gnomes/contributors","subscribers_url":"https://api.github.com/repos/pwentz/game_of_gnomes/subscribers","subscription_url":"https://api.github.com/repos/pwentz/game_of_gnomes/subscription","commits_url":"https://api.github.com/repos/pwentz/game_of_gnomes/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwentz/game_of_gnomes/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwentz/game_of_gnomes/contents/{+path}","compare_url":"https://api.github.com/repos/pwentz/game_of_gnomes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwentz/game_of_gnomes/merges","archive_url":"https://api.github.com/repos/pwentz/game_of_gnomes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwentz/game_of_gnomes/downloads","issues_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues{/number}","pulls_url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls{/number}","milestones_url":"https://api.github.com/repos/pwentz/game_of_gnomes/milestones{/number}","notifications_url":"https://api.github.com/repos/pwentz/game_of_gnomes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwentz/game_of_gnomes/labels{/name}","releases_url":"https://api.github.com/repos/pwentz/game_of_gnomes/releases{/id}","deployments_url":"https://api.github.com/repos/pwentz/game_of_gnomes/deployments","created_at":"2016-07-26T17:23:40Z","updated_at":"2016-07-26T20:15:23Z","pushed_at":"2016-07-28T13:49:47Z","git_url":"git://github.com/pwentz/game_of_gnomes.git","ssh_url":"git@github.com:pwentz/game_of_gnomes.git","clone_url":"https://github.com/pwentz/game_of_gnomes.git","svn_url":"https://github.com/pwentz/game_of_gnomes","homepage":null,"size":63,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"pwentz:master","ref":"master","sha":"b46993123c3749678254273477fd5f890c153939","user":{"login":"pwentz","id":18466392,"avatar_url":"https://avatars.githubusercontent.com/u/18466392?v=3","gravatar_id":"","url":"https://api.github.com/users/pwentz","html_url":"https://github.com/pwentz","followers_url":"https://api.github.com/users/pwentz/followers","following_url":"https://api.github.com/users/pwentz/following{/other_user}","gists_url":"https://api.github.com/users/pwentz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwentz/subscriptions","organizations_url":"https://api.github.com/users/pwentz/orgs","repos_url":"https://api.github.com/users/pwentz/repos","events_url":"https://api.github.com/users/pwentz/events{/privacy}","received_events_url":"https://api.github.com/users/pwentz/received_events","type":"User","site_admin":false},"repo":{"id":64240616,"name":"game_of_gnomes","full_name":"pwentz/game_of_gnomes","owner":{"login":"pwentz","id":18466392,"avatar_url":"https://avatars.githubusercontent.com/u/18466392?v=3","gravatar_id":"","url":"https://api.github.com/users/pwentz","html_url":"https://github.com/pwentz","followers_url":"https://api.github.com/users/pwentz/followers","following_url":"https://api.github.com/users/pwentz/following{/other_user}","gists_url":"https://api.github.com/users/pwentz/gists{/gist_id}","starred_url":"https://api.github.com/users/pwentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwentz/subscriptions","organizations_url":"https://api.github.com/users/pwentz/orgs","repos_url":"https://api.github.com/users/pwentz/repos","events_url":"https://api.github.com/users/pwentz/events{/privacy}","received_events_url":"https://api.github.com/users/pwentz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwentz/game_of_gnomes","description":null,"fork":false,"url":"https://api.github.com/repos/pwentz/game_of_gnomes","forks_url":"https://api.github.com/repos/pwentz/game_of_gnomes/forks","keys_url":"https://api.github.com/repos/pwentz/game_of_gnomes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwentz/game_of_gnomes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwentz/game_of_gnomes/teams","hooks_url":"https://api.github.com/repos/pwentz/game_of_gnomes/hooks","issue_events_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/events{/number}","events_url":"https://api.github.com/repos/pwentz/game_of_gnomes/events","assignees_url":"https://api.github.com/repos/pwentz/game_of_gnomes/assignees{/user}","branches_url":"https://api.github.com/repos/pwentz/game_of_gnomes/branches{/branch}","tags_url":"https://api.github.com/repos/pwentz/game_of_gnomes/tags","blobs_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwentz/game_of_gnomes/statuses/{sha}","languages_url":"https://api.github.com/repos/pwentz/game_of_gnomes/languages","stargazers_url":"https://api.github.com/repos/pwentz/game_of_gnomes/stargazers","contributors_url":"https://api.github.com/repos/pwentz/game_of_gnomes/contributors","subscribers_url":"https://api.github.com/repos/pwentz/game_of_gnomes/subscribers","subscription_url":"https://api.github.com/repos/pwentz/game_of_gnomes/subscription","commits_url":"https://api.github.com/repos/pwentz/game_of_gnomes/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwentz/game_of_gnomes/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwentz/game_of_gnomes/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwentz/game_of_gnomes/contents/{+path}","compare_url":"https://api.github.com/repos/pwentz/game_of_gnomes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwentz/game_of_gnomes/merges","archive_url":"https://api.github.com/repos/pwentz/game_of_gnomes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwentz/game_of_gnomes/downloads","issues_url":"https://api.github.com/repos/pwentz/game_of_gnomes/issues{/number}","pulls_url":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls{/number}","milestones_url":"https://api.github.com/repos/pwentz/game_of_gnomes/milestones{/number}","notifications_url":"https://api.github.com/repos/pwentz/game_of_gnomes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwentz/game_of_gnomes/labels{/name}","releases_url":"https://api.github.com/repos/pwentz/game_of_gnomes/releases{/id}","deployments_url":"https://api.github.com/repos/pwentz/game_of_gnomes/deployments","created_at":"2016-07-26T17:23:40Z","updated_at":"2016-07-26T20:15:23Z","pushed_at":"2016-07-28T13:49:47Z","git_url":"git://github.com/pwentz/game_of_gnomes.git","ssh_url":"git@github.com:pwentz/game_of_gnomes.git","clone_url":"https://github.com/pwentz/game_of_gnomes.git","svn_url":"https://github.com/pwentz/game_of_gnomes","homepage":null,"size":63,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29"},"html":{"href":"https://github.com/pwentz/game_of_gnomes/pull/29"},"issue":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/29"},"comments":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/pwentz/game_of_gnomes/statuses/c7f7efd3e391f45020fd54a020e829945a0ea2b7"}}}}
{"actor":{"display_login":"houndci-bot"}}