{"action":"created","comment":{"url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/comments/79291971","id":79291971,"diff_hunk":"@@ -0,0 +1,34 @@\n+require 'rails_helper'\n+\n+RSpec.feature \"unauthenticated user\" do\n+  scenario \"cannot view another user's private data\" do\n+    # As an unauthenticated user\n+    order_1 = Fabricate(:order)\n+    # I cannot view another user's private data (current or past orders, etc)\n+    visit order_path(order_1)\n+    expect(page).to_not have_css(\"td\", :text => order_1.id)\n+    expect(current_path).to eq(login_path)\n+  end\n+\n+  scenario \"is redirected to login/create account when attempting to checkout\" do\n+    # As an unauthenticated user\n+    # I should be redirected to login/create accoun when I try to checkout\n+    item = Fabricate(:item)\n+    visit item_path(item)\n+    click_button \"Add to Cart\"\n+\n+    click_link \"Cart\"\n+\n+    expect(page).to have_link(\"Login or Create Account to Checkout\")","path":"spec/features/unauthenticated_users_security_spec.rb","position":22,"original_position":22,"commit_id":"fa3d1cd67344009ac0445c51b5f939f9ddc2c8e5","original_commit_id":"fa3d1cd67344009ac0445c51b5f939f9ddc2c8e5","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-09-17T21:05:51Z","updated_at":"2016-09-17T21:05:51Z","html_url":"https://github.com/PlanetEfficacy/little_shop/pull/68#discussion_r79291971","pull_request_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/comments/79291971"},"html":{"href":"https://github.com/PlanetEfficacy/little_shop/pull/68#discussion_r79291971"},"pull_request":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68","id":85687075,"html_url":"https://github.com/PlanetEfficacy/little_shop/pull/68","diff_url":"https://github.com/PlanetEfficacy/little_shop/pull/68.diff","patch_url":"https://github.com/PlanetEfficacy/little_shop/pull/68.patch","issue_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/68","number":68,"state":"open","locked":false,"title":"Unauthenticated users security card#48","user":{"login":"PlanetEfficacy","id":15135934,"avatar_url":"https://avatars.githubusercontent.com/u/15135934?v=3","gravatar_id":"","url":"https://api.github.com/users/PlanetEfficacy","html_url":"https://github.com/PlanetEfficacy","followers_url":"https://api.github.com/users/PlanetEfficacy/followers","following_url":"https://api.github.com/users/PlanetEfficacy/following{/other_user}","gists_url":"https://api.github.com/users/PlanetEfficacy/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanetEfficacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanetEfficacy/subscriptions","organizations_url":"https://api.github.com/users/PlanetEfficacy/orgs","repos_url":"https://api.github.com/users/PlanetEfficacy/repos","events_url":"https://api.github.com/users/PlanetEfficacy/events{/privacy}","received_events_url":"https://api.github.com/users/PlanetEfficacy/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-17T21:05:41Z","updated_at":"2016-09-17T21:05:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8b36dda2bab22ae576058c4062c5849e57a28f6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68/commits","review_comments_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68/comments","review_comment_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/68/comments","statuses_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/statuses/fa3d1cd67344009ac0445c51b5f939f9ddc2c8e5","head":{"label":"PlanetEfficacy:unauthenticated_users_security_card#48","ref":"unauthenticated_users_security_card#48","sha":"fa3d1cd67344009ac0445c51b5f939f9ddc2c8e5","user":{"login":"PlanetEfficacy","id":15135934,"avatar_url":"https://avatars.githubusercontent.com/u/15135934?v=3","gravatar_id":"","url":"https://api.github.com/users/PlanetEfficacy","html_url":"https://github.com/PlanetEfficacy","followers_url":"https://api.github.com/users/PlanetEfficacy/followers","following_url":"https://api.github.com/users/PlanetEfficacy/following{/other_user}","gists_url":"https://api.github.com/users/PlanetEfficacy/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanetEfficacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanetEfficacy/subscriptions","organizations_url":"https://api.github.com/users/PlanetEfficacy/orgs","repos_url":"https://api.github.com/users/PlanetEfficacy/repos","events_url":"https://api.github.com/users/PlanetEfficacy/events{/privacy}","received_events_url":"https://api.github.com/users/PlanetEfficacy/received_events","type":"User","site_admin":false},"repo":{"id":68048739,"name":"little_shop","full_name":"PlanetEfficacy/little_shop","owner":{"login":"PlanetEfficacy","id":15135934,"avatar_url":"https://avatars.githubusercontent.com/u/15135934?v=3","gravatar_id":"","url":"https://api.github.com/users/PlanetEfficacy","html_url":"https://github.com/PlanetEfficacy","followers_url":"https://api.github.com/users/PlanetEfficacy/followers","following_url":"https://api.github.com/users/PlanetEfficacy/following{/other_user}","gists_url":"https://api.github.com/users/PlanetEfficacy/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanetEfficacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanetEfficacy/subscriptions","organizations_url":"https://api.github.com/users/PlanetEfficacy/orgs","repos_url":"https://api.github.com/users/PlanetEfficacy/repos","events_url":"https://api.github.com/users/PlanetEfficacy/events{/privacy}","received_events_url":"https://api.github.com/users/PlanetEfficacy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PlanetEfficacy/little_shop","description":null,"fork":false,"url":"https://api.github.com/repos/PlanetEfficacy/little_shop","forks_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/forks","keys_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/teams","hooks_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/hooks","issue_events_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/events{/number}","events_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/events","assignees_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/assignees{/user}","branches_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/branches{/branch}","tags_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/tags","blobs_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/languages","stargazers_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/stargazers","contributors_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/contributors","subscribers_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/subscribers","subscription_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/subscription","commits_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/contents/{+path}","compare_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/merges","archive_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/downloads","issues_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues{/number}","pulls_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/labels{/name}","releases_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/releases{/id}","deployments_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/deployments","created_at":"2016-09-12T21:16:23Z","updated_at":"2016-09-13T02:24:22Z","pushed_at":"2016-09-17T21:05:41Z","git_url":"git://github.com/PlanetEfficacy/little_shop.git","ssh_url":"git@github.com:PlanetEfficacy/little_shop.git","clone_url":"https://github.com/PlanetEfficacy/little_shop.git","svn_url":"https://github.com/PlanetEfficacy/little_shop","homepage":null,"size":516,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":2,"default_branch":"development"}},"base":{"label":"PlanetEfficacy:development","ref":"development","sha":"c9d6976faceb2cb9041affef51423da1b8d3cdf9","user":{"login":"PlanetEfficacy","id":15135934,"avatar_url":"https://avatars.githubusercontent.com/u/15135934?v=3","gravatar_id":"","url":"https://api.github.com/users/PlanetEfficacy","html_url":"https://github.com/PlanetEfficacy","followers_url":"https://api.github.com/users/PlanetEfficacy/followers","following_url":"https://api.github.com/users/PlanetEfficacy/following{/other_user}","gists_url":"https://api.github.com/users/PlanetEfficacy/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanetEfficacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanetEfficacy/subscriptions","organizations_url":"https://api.github.com/users/PlanetEfficacy/orgs","repos_url":"https://api.github.com/users/PlanetEfficacy/repos","events_url":"https://api.github.com/users/PlanetEfficacy/events{/privacy}","received_events_url":"https://api.github.com/users/PlanetEfficacy/received_events","type":"User","site_admin":false},"repo":{"id":68048739,"name":"little_shop","full_name":"PlanetEfficacy/little_shop","owner":{"login":"PlanetEfficacy","id":15135934,"avatar_url":"https://avatars.githubusercontent.com/u/15135934?v=3","gravatar_id":"","url":"https://api.github.com/users/PlanetEfficacy","html_url":"https://github.com/PlanetEfficacy","followers_url":"https://api.github.com/users/PlanetEfficacy/followers","following_url":"https://api.github.com/users/PlanetEfficacy/following{/other_user}","gists_url":"https://api.github.com/users/PlanetEfficacy/gists{/gist_id}","starred_url":"https://api.github.com/users/PlanetEfficacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlanetEfficacy/subscriptions","organizations_url":"https://api.github.com/users/PlanetEfficacy/orgs","repos_url":"https://api.github.com/users/PlanetEfficacy/repos","events_url":"https://api.github.com/users/PlanetEfficacy/events{/privacy}","received_events_url":"https://api.github.com/users/PlanetEfficacy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PlanetEfficacy/little_shop","description":null,"fork":false,"url":"https://api.github.com/repos/PlanetEfficacy/little_shop","forks_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/forks","keys_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/teams","hooks_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/hooks","issue_events_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/events{/number}","events_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/events","assignees_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/assignees{/user}","branches_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/branches{/branch}","tags_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/tags","blobs_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/languages","stargazers_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/stargazers","contributors_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/contributors","subscribers_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/subscribers","subscription_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/subscription","commits_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/contents/{+path}","compare_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/merges","archive_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/downloads","issues_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues{/number}","pulls_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/labels{/name}","releases_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/releases{/id}","deployments_url":"https://api.github.com/repos/PlanetEfficacy/little_shop/deployments","created_at":"2016-09-12T21:16:23Z","updated_at":"2016-09-13T02:24:22Z","pushed_at":"2016-09-17T21:05:41Z","git_url":"git://github.com/PlanetEfficacy/little_shop.git","ssh_url":"git@github.com:PlanetEfficacy/little_shop.git","clone_url":"https://github.com/PlanetEfficacy/little_shop.git","svn_url":"https://github.com/PlanetEfficacy/little_shop","homepage":null,"size":516,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":13,"forks":0,"open_issues":13,"watchers":2,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68"},"html":{"href":"https://github.com/PlanetEfficacy/little_shop/pull/68"},"issue":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/68"},"comments":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/PlanetEfficacy/little_shop/statuses/fa3d1cd67344009ac0445c51b5f939f9ddc2c8e5"}}}}
{"actor":{"display_login":"houndci-bot"}}