{"action":"created","comment":{"url":"https://api.github.com/repos/j-sm-n/little_shop/pulls/comments/78661567","id":78661567,"diff_hunk":"@@ -0,0 +1,36 @@\n+require 'rails_helper'\n+\n+RSpec.feature \"User sees items in cart\" do\n+  scenario \"when cart has items\" do\n+    # Given items exist\n+    # As a visitor\n+    # When I visit any page with an item on it\n+    # I should see a link or button for \"Add to Cart\"\n+    # When I click \"Add to cart\" for that item\n+    # And I click a link or button to view cart\n+    # And my current path should be \"/cart\"\n+    # And I should see a small image, title, description and price for the item I just added\n+    # And there should be a \"total\" price for the cart that should be the sum of all items in the cart\n+    item = Item.create(title: \"Banana\",\n+                       description: \"Wholesome Yellow Goodness\",\n+                       price: 19,\n+                       image_path: \"http://saltmarshrunning.com/wp-content/uploads/2014/09/bananasf.jpg\")\n+    visit items_path\n+\n+    click_on \"Add to Cart\"\n+\n+    expect(current_path).to eq(items_path)\n+\n+    within \".cart\" do\n+      click_on \"cart\"\n+\n+    end\n+\n+    expect(current_path).to eq(\"/cart\")","path":"spec/features/user_sees_cart_items_spec.rb","position":29,"original_position":29,"commit_id":"45af7420b5284de315811c97458b61918ab56246","original_commit_id":"45af7420b5284de315811c97458b61918ab56246","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-13T23:09:50Z","updated_at":"2016-09-13T23:09:50Z","html_url":"https://github.com/j-sm-n/little_shop/pull/19#discussion_r78661567","pull_request_url":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/j-sm-n/little_shop/pulls/comments/78661567"},"html":{"href":"https://github.com/j-sm-n/little_shop/pull/19#discussion_r78661567"},"pull_request":{"href":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19","id":85141832,"html_url":"https://github.com/j-sm-n/little_shop/pull/19","diff_url":"https://github.com/j-sm-n/little_shop/pull/19.diff","patch_url":"https://github.com/j-sm-n/little_shop/pull/19.patch","issue_url":"https://api.github.com/repos/j-sm-n/little_shop/issues/19","number":19,"state":"open","locked":false,"title":"4 add cart [WIP] ","user":{"login":"rsbarbo","id":14164092,"avatar_url":"https://avatars.githubusercontent.com/u/14164092?v=3","gravatar_id":"","url":"https://api.github.com/users/rsbarbo","html_url":"https://github.com/rsbarbo","followers_url":"https://api.github.com/users/rsbarbo/followers","following_url":"https://api.github.com/users/rsbarbo/following{/other_user}","gists_url":"https://api.github.com/users/rsbarbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsbarbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsbarbo/subscriptions","organizations_url":"https://api.github.com/users/rsbarbo/orgs","repos_url":"https://api.github.com/users/rsbarbo/repos","events_url":"https://api.github.com/users/rsbarbo/events{/privacy}","received_events_url":"https://api.github.com/users/rsbarbo/received_events","type":"User","site_admin":false},"body":"Still working on this pull request.","created_at":"2016-09-13T23:09:42Z","updated_at":"2016-09-13T23:09:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"972d8aaa9f010aeabf373e176603fab84d65622f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19/commits","review_comments_url":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19/comments","review_comment_url":"https://api.github.com/repos/j-sm-n/little_shop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/j-sm-n/little_shop/issues/19/comments","statuses_url":"https://api.github.com/repos/j-sm-n/little_shop/statuses/45af7420b5284de315811c97458b61918ab56246","head":{"label":"j-sm-n:4-add-cart","ref":"4-add-cart","sha":"45af7420b5284de315811c97458b61918ab56246","user":{"login":"j-sm-n","id":9372657,"avatar_url":"https://avatars.githubusercontent.com/u/9372657?v=3","gravatar_id":"","url":"https://api.github.com/users/j-sm-n","html_url":"https://github.com/j-sm-n","followers_url":"https://api.github.com/users/j-sm-n/followers","following_url":"https://api.github.com/users/j-sm-n/following{/other_user}","gists_url":"https://api.github.com/users/j-sm-n/gists{/gist_id}","starred_url":"https://api.github.com/users/j-sm-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-sm-n/subscriptions","organizations_url":"https://api.github.com/users/j-sm-n/orgs","repos_url":"https://api.github.com/users/j-sm-n/repos","events_url":"https://api.github.com/users/j-sm-n/events{/privacy}","received_events_url":"https://api.github.com/users/j-sm-n/received_events","type":"User","site_admin":false},"repo":{"id":68051939,"name":"little_shop","full_name":"j-sm-n/little_shop","owner":{"login":"j-sm-n","id":9372657,"avatar_url":"https://avatars.githubusercontent.com/u/9372657?v=3","gravatar_id":"","url":"https://api.github.com/users/j-sm-n","html_url":"https://github.com/j-sm-n","followers_url":"https://api.github.com/users/j-sm-n/followers","following_url":"https://api.github.com/users/j-sm-n/following{/other_user}","gists_url":"https://api.github.com/users/j-sm-n/gists{/gist_id}","starred_url":"https://api.github.com/users/j-sm-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-sm-n/subscriptions","organizations_url":"https://api.github.com/users/j-sm-n/orgs","repos_url":"https://api.github.com/users/j-sm-n/repos","events_url":"https://api.github.com/users/j-sm-n/events{/privacy}","received_events_url":"https://api.github.com/users/j-sm-n/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j-sm-n/little_shop","description":"A mini ecommerce platform. ","fork":false,"url":"https://api.github.com/repos/j-sm-n/little_shop","forks_url":"https://api.github.com/repos/j-sm-n/little_shop/forks","keys_url":"https://api.github.com/repos/j-sm-n/little_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j-sm-n/little_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j-sm-n/little_shop/teams","hooks_url":"https://api.github.com/repos/j-sm-n/little_shop/hooks","issue_events_url":"https://api.github.com/repos/j-sm-n/little_shop/issues/events{/number}","events_url":"https://api.github.com/repos/j-sm-n/little_shop/events","assignees_url":"https://api.github.com/repos/j-sm-n/little_shop/assignees{/user}","branches_url":"https://api.github.com/repos/j-sm-n/little_shop/branches{/branch}","tags_url":"https://api.github.com/repos/j-sm-n/little_shop/tags","blobs_url":"https://api.github.com/repos/j-sm-n/little_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j-sm-n/little_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j-sm-n/little_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/j-sm-n/little_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j-sm-n/little_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/j-sm-n/little_shop/languages","stargazers_url":"https://api.github.com/repos/j-sm-n/little_shop/stargazers","contributors_url":"https://api.github.com/repos/j-sm-n/little_shop/contributors","subscribers_url":"https://api.github.com/repos/j-sm-n/little_shop/subscribers","subscription_url":"https://api.github.com/repos/j-sm-n/little_shop/subscription","commits_url":"https://api.github.com/repos/j-sm-n/little_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/j-sm-n/little_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/j-sm-n/little_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/j-sm-n/little_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/j-sm-n/little_shop/contents/{+path}","compare_url":"https://api.github.com/repos/j-sm-n/little_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j-sm-n/little_shop/merges","archive_url":"https://api.github.com/repos/j-sm-n/little_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j-sm-n/little_shop/downloads","issues_url":"https://api.github.com/repos/j-sm-n/little_shop/issues{/number}","pulls_url":"https://api.github.com/repos/j-sm-n/little_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/j-sm-n/little_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/j-sm-n/little_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j-sm-n/little_shop/labels{/name}","releases_url":"https://api.github.com/repos/j-sm-n/little_shop/releases{/id}","deployments_url":"https://api.github.com/repos/j-sm-n/little_shop/deployments","created_at":"2016-09-12T22:04:38Z","updated_at":"2016-09-12T23:53:50Z","pushed_at":"2016-09-13T23:09:42Z","git_url":"git://github.com/j-sm-n/little_shop.git","ssh_url":"git@github.com:j-sm-n/little_shop.git","clone_url":"https://github.com/j-sm-n/little_shop.git","svn_url":"https://github.com/j-sm-n/little_shop","homepage":null,"size":708,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"development"}},"base":{"label":"j-sm-n:development","ref":"development","sha":"b936b33e22bce3720bb5e9f6ff8e17a73b641c45","user":{"login":"j-sm-n","id":9372657,"avatar_url":"https://avatars.githubusercontent.com/u/9372657?v=3","gravatar_id":"","url":"https://api.github.com/users/j-sm-n","html_url":"https://github.com/j-sm-n","followers_url":"https://api.github.com/users/j-sm-n/followers","following_url":"https://api.github.com/users/j-sm-n/following{/other_user}","gists_url":"https://api.github.com/users/j-sm-n/gists{/gist_id}","starred_url":"https://api.github.com/users/j-sm-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-sm-n/subscriptions","organizations_url":"https://api.github.com/users/j-sm-n/orgs","repos_url":"https://api.github.com/users/j-sm-n/repos","events_url":"https://api.github.com/users/j-sm-n/events{/privacy}","received_events_url":"https://api.github.com/users/j-sm-n/received_events","type":"User","site_admin":false},"repo":{"id":68051939,"name":"little_shop","full_name":"j-sm-n/little_shop","owner":{"login":"j-sm-n","id":9372657,"avatar_url":"https://avatars.githubusercontent.com/u/9372657?v=3","gravatar_id":"","url":"https://api.github.com/users/j-sm-n","html_url":"https://github.com/j-sm-n","followers_url":"https://api.github.com/users/j-sm-n/followers","following_url":"https://api.github.com/users/j-sm-n/following{/other_user}","gists_url":"https://api.github.com/users/j-sm-n/gists{/gist_id}","starred_url":"https://api.github.com/users/j-sm-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-sm-n/subscriptions","organizations_url":"https://api.github.com/users/j-sm-n/orgs","repos_url":"https://api.github.com/users/j-sm-n/repos","events_url":"https://api.github.com/users/j-sm-n/events{/privacy}","received_events_url":"https://api.github.com/users/j-sm-n/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j-sm-n/little_shop","description":"A mini ecommerce platform. ","fork":false,"url":"https://api.github.com/repos/j-sm-n/little_shop","forks_url":"https://api.github.com/repos/j-sm-n/little_shop/forks","keys_url":"https://api.github.com/repos/j-sm-n/little_shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j-sm-n/little_shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j-sm-n/little_shop/teams","hooks_url":"https://api.github.com/repos/j-sm-n/little_shop/hooks","issue_events_url":"https://api.github.com/repos/j-sm-n/little_shop/issues/events{/number}","events_url":"https://api.github.com/repos/j-sm-n/little_shop/events","assignees_url":"https://api.github.com/repos/j-sm-n/little_shop/assignees{/user}","branches_url":"https://api.github.com/repos/j-sm-n/little_shop/branches{/branch}","tags_url":"https://api.github.com/repos/j-sm-n/little_shop/tags","blobs_url":"https://api.github.com/repos/j-sm-n/little_shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j-sm-n/little_shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j-sm-n/little_shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/j-sm-n/little_shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j-sm-n/little_shop/statuses/{sha}","languages_url":"https://api.github.com/repos/j-sm-n/little_shop/languages","stargazers_url":"https://api.github.com/repos/j-sm-n/little_shop/stargazers","contributors_url":"https://api.github.com/repos/j-sm-n/little_shop/contributors","subscribers_url":"https://api.github.com/repos/j-sm-n/little_shop/subscribers","subscription_url":"https://api.github.com/repos/j-sm-n/little_shop/subscription","commits_url":"https://api.github.com/repos/j-sm-n/little_shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/j-sm-n/little_shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/j-sm-n/little_shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/j-sm-n/little_shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/j-sm-n/little_shop/contents/{+path}","compare_url":"https://api.github.com/repos/j-sm-n/little_shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j-sm-n/little_shop/merges","archive_url":"https://api.github.com/repos/j-sm-n/little_shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j-sm-n/little_shop/downloads","issues_url":"https://api.github.com/repos/j-sm-n/little_shop/issues{/number}","pulls_url":"https://api.github.com/repos/j-sm-n/little_shop/pulls{/number}","milestones_url":"https://api.github.com/repos/j-sm-n/little_shop/milestones{/number}","notifications_url":"https://api.github.com/repos/j-sm-n/little_shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j-sm-n/little_shop/labels{/name}","releases_url":"https://api.github.com/repos/j-sm-n/little_shop/releases{/id}","deployments_url":"https://api.github.com/repos/j-sm-n/little_shop/deployments","created_at":"2016-09-12T22:04:38Z","updated_at":"2016-09-12T23:53:50Z","pushed_at":"2016-09-13T23:09:42Z","git_url":"git://github.com/j-sm-n/little_shop.git","ssh_url":"git@github.com:j-sm-n/little_shop.git","clone_url":"https://github.com/j-sm-n/little_shop.git","svn_url":"https://github.com/j-sm-n/little_shop","homepage":null,"size":708,"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":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19"},"html":{"href":"https://github.com/j-sm-n/little_shop/pull/19"},"issue":{"href":"https://api.github.com/repos/j-sm-n/little_shop/issues/19"},"comments":{"href":"https://api.github.com/repos/j-sm-n/little_shop/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/j-sm-n/little_shop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/j-sm-n/little_shop/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/j-sm-n/little_shop/statuses/45af7420b5284de315811c97458b61918ab56246"}}}}
{"actor":{"display_login":"houndci-bot"}}