{"action":"created","comment":{"url":"https://api.github.com/repos/ColinOsborn/general_store/pulls/comments/67215294","id":67215294,"diff_hunk":"@@ -53,4 +51,66 @@\n \n     expect(page).to have_content \"2\"\n   end\n+\n+  scenario \"user selects quantity that is in stock\" do\n+\n+    user = create(:user)\n+\n+    allow_any_instance_of(ApplicationController).to receive(:current_user).and_return(user)\n+    category = Category.create(title: \"feet\")\n+    item = Item.create({\n+      title: \"boots\",\n+      price: 3,\n+      description: \"these boots were made for walkin\",\n+      image_path: \"sadasca\",\n+      category: category,\n+      weight: 10,\n+      stock: 15\n+    })\n+\n+    visit item_path(item.id)\n+    click_link \"Add to Cart\"\n+\n+    visit '/cart'\n+    click_button \"Qty: 1\"\n+    click_link \"10\"\n+\n+    click_link \"Checkout\"\n+\n+    expect(current_path).to eq(orders_path)\n+    expect(page).to have_content(\"Order was successfully placed\")\n+    expect(page).to have_content(\"View Order\")\n+  end\n+\n+  scenario \"user selects quantity that is in stock\" do\n+    user = create(:user)\n+\n+    allow_any_instance_of(ApplicationController).to receive(:current_user).and_return(user)","path":"spec/features/user_can_change_quantities_spec.rb","position":71,"original_position":71,"commit_id":"9e2623baa74b00cb738c118281a4798374b73705","original_commit_id":"9e2623baa74b00cb738c118281a4798374b73705","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":"Line is too long. [91/80]","created_at":"2016-06-15T18:13:07Z","updated_at":"2016-06-15T18:13:07Z","html_url":"https://github.com/ColinOsborn/general_store/pull/108#discussion_r67215294","pull_request_url":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/ColinOsborn/general_store/pulls/comments/67215294"},"html":{"href":"https://github.com/ColinOsborn/general_store/pull/108#discussion_r67215294"},"pull_request":{"href":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108","id":73958138,"html_url":"https://github.com/ColinOsborn/general_store/pull/108","diff_url":"https://github.com/ColinOsborn/general_store/pull/108.diff","patch_url":"https://github.com/ColinOsborn/general_store/pull/108.patch","issue_url":"https://api.github.com/repos/ColinOsborn/general_store/issues/108","number":108,"state":"open","locked":false,"title":"[WIP]checked","user":{"login":"ColinOsborn","id":13109607,"avatar_url":"https://avatars.githubusercontent.com/u/13109607?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinOsborn","html_url":"https://github.com/ColinOsborn","followers_url":"https://api.github.com/users/ColinOsborn/followers","following_url":"https://api.github.com/users/ColinOsborn/following{/other_user}","gists_url":"https://api.github.com/users/ColinOsborn/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinOsborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinOsborn/subscriptions","organizations_url":"https://api.github.com/users/ColinOsborn/orgs","repos_url":"https://api.github.com/users/ColinOsborn/repos","events_url":"https://api.github.com/users/ColinOsborn/events{/privacy}","received_events_url":"https://api.github.com/users/ColinOsborn/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-15T18:12:57Z","updated_at":"2016-06-15T18:13:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb0de6758f9ad6e38f658e794b1f69037a9cda16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108/commits","review_comments_url":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108/comments","review_comment_url":"https://api.github.com/repos/ColinOsborn/general_store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ColinOsborn/general_store/issues/108/comments","statuses_url":"https://api.github.com/repos/ColinOsborn/general_store/statuses/9e2623baa74b00cb738c118281a4798374b73705","head":{"label":"ColinOsborn:partials","ref":"partials","sha":"9e2623baa74b00cb738c118281a4798374b73705","user":{"login":"ColinOsborn","id":13109607,"avatar_url":"https://avatars.githubusercontent.com/u/13109607?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinOsborn","html_url":"https://github.com/ColinOsborn","followers_url":"https://api.github.com/users/ColinOsborn/followers","following_url":"https://api.github.com/users/ColinOsborn/following{/other_user}","gists_url":"https://api.github.com/users/ColinOsborn/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinOsborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinOsborn/subscriptions","organizations_url":"https://api.github.com/users/ColinOsborn/orgs","repos_url":"https://api.github.com/users/ColinOsborn/repos","events_url":"https://api.github.com/users/ColinOsborn/events{/privacy}","received_events_url":"https://api.github.com/users/ColinOsborn/received_events","type":"User","site_admin":false},"repo":{"id":60564221,"name":"general_store","full_name":"ColinOsborn/general_store","owner":{"login":"ColinOsborn","id":13109607,"avatar_url":"https://avatars.githubusercontent.com/u/13109607?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinOsborn","html_url":"https://github.com/ColinOsborn","followers_url":"https://api.github.com/users/ColinOsborn/followers","following_url":"https://api.github.com/users/ColinOsborn/following{/other_user}","gists_url":"https://api.github.com/users/ColinOsborn/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinOsborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinOsborn/subscriptions","organizations_url":"https://api.github.com/users/ColinOsborn/orgs","repos_url":"https://api.github.com/users/ColinOsborn/repos","events_url":"https://api.github.com/users/ColinOsborn/events{/privacy}","received_events_url":"https://api.github.com/users/ColinOsborn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ColinOsborn/general_store","description":"","fork":false,"url":"https://api.github.com/repos/ColinOsborn/general_store","forks_url":"https://api.github.com/repos/ColinOsborn/general_store/forks","keys_url":"https://api.github.com/repos/ColinOsborn/general_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ColinOsborn/general_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ColinOsborn/general_store/teams","hooks_url":"https://api.github.com/repos/ColinOsborn/general_store/hooks","issue_events_url":"https://api.github.com/repos/ColinOsborn/general_store/issues/events{/number}","events_url":"https://api.github.com/repos/ColinOsborn/general_store/events","assignees_url":"https://api.github.com/repos/ColinOsborn/general_store/assignees{/user}","branches_url":"https://api.github.com/repos/ColinOsborn/general_store/branches{/branch}","tags_url":"https://api.github.com/repos/ColinOsborn/general_store/tags","blobs_url":"https://api.github.com/repos/ColinOsborn/general_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ColinOsborn/general_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ColinOsborn/general_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/ColinOsborn/general_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ColinOsborn/general_store/statuses/{sha}","languages_url":"https://api.github.com/repos/ColinOsborn/general_store/languages","stargazers_url":"https://api.github.com/repos/ColinOsborn/general_store/stargazers","contributors_url":"https://api.github.com/repos/ColinOsborn/general_store/contributors","subscribers_url":"https://api.github.com/repos/ColinOsborn/general_store/subscribers","subscription_url":"https://api.github.com/repos/ColinOsborn/general_store/subscription","commits_url":"https://api.github.com/repos/ColinOsborn/general_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/ColinOsborn/general_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/ColinOsborn/general_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/ColinOsborn/general_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/ColinOsborn/general_store/contents/{+path}","compare_url":"https://api.github.com/repos/ColinOsborn/general_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ColinOsborn/general_store/merges","archive_url":"https://api.github.com/repos/ColinOsborn/general_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ColinOsborn/general_store/downloads","issues_url":"https://api.github.com/repos/ColinOsborn/general_store/issues{/number}","pulls_url":"https://api.github.com/repos/ColinOsborn/general_store/pulls{/number}","milestones_url":"https://api.github.com/repos/ColinOsborn/general_store/milestones{/number}","notifications_url":"https://api.github.com/repos/ColinOsborn/general_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ColinOsborn/general_store/labels{/name}","releases_url":"https://api.github.com/repos/ColinOsborn/general_store/releases{/id}","deployments_url":"https://api.github.com/repos/ColinOsborn/general_store/deployments","created_at":"2016-06-06T22:10:04Z","updated_at":"2016-06-07T00:08:09Z","pushed_at":"2016-06-15T18:12:58Z","git_url":"git://github.com/ColinOsborn/general_store.git","ssh_url":"git@github.com:ColinOsborn/general_store.git","clone_url":"https://github.com/ColinOsborn/general_store.git","svn_url":"https://github.com/ColinOsborn/general_store","homepage":null,"size":3150,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"base":{"label":"ColinOsborn:development_master","ref":"development_master","sha":"0bc592e367766aeaa897ed0c4ab8849b675a4132","user":{"login":"ColinOsborn","id":13109607,"avatar_url":"https://avatars.githubusercontent.com/u/13109607?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinOsborn","html_url":"https://github.com/ColinOsborn","followers_url":"https://api.github.com/users/ColinOsborn/followers","following_url":"https://api.github.com/users/ColinOsborn/following{/other_user}","gists_url":"https://api.github.com/users/ColinOsborn/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinOsborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinOsborn/subscriptions","organizations_url":"https://api.github.com/users/ColinOsborn/orgs","repos_url":"https://api.github.com/users/ColinOsborn/repos","events_url":"https://api.github.com/users/ColinOsborn/events{/privacy}","received_events_url":"https://api.github.com/users/ColinOsborn/received_events","type":"User","site_admin":false},"repo":{"id":60564221,"name":"general_store","full_name":"ColinOsborn/general_store","owner":{"login":"ColinOsborn","id":13109607,"avatar_url":"https://avatars.githubusercontent.com/u/13109607?v=3","gravatar_id":"","url":"https://api.github.com/users/ColinOsborn","html_url":"https://github.com/ColinOsborn","followers_url":"https://api.github.com/users/ColinOsborn/followers","following_url":"https://api.github.com/users/ColinOsborn/following{/other_user}","gists_url":"https://api.github.com/users/ColinOsborn/gists{/gist_id}","starred_url":"https://api.github.com/users/ColinOsborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColinOsborn/subscriptions","organizations_url":"https://api.github.com/users/ColinOsborn/orgs","repos_url":"https://api.github.com/users/ColinOsborn/repos","events_url":"https://api.github.com/users/ColinOsborn/events{/privacy}","received_events_url":"https://api.github.com/users/ColinOsborn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ColinOsborn/general_store","description":"","fork":false,"url":"https://api.github.com/repos/ColinOsborn/general_store","forks_url":"https://api.github.com/repos/ColinOsborn/general_store/forks","keys_url":"https://api.github.com/repos/ColinOsborn/general_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ColinOsborn/general_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ColinOsborn/general_store/teams","hooks_url":"https://api.github.com/repos/ColinOsborn/general_store/hooks","issue_events_url":"https://api.github.com/repos/ColinOsborn/general_store/issues/events{/number}","events_url":"https://api.github.com/repos/ColinOsborn/general_store/events","assignees_url":"https://api.github.com/repos/ColinOsborn/general_store/assignees{/user}","branches_url":"https://api.github.com/repos/ColinOsborn/general_store/branches{/branch}","tags_url":"https://api.github.com/repos/ColinOsborn/general_store/tags","blobs_url":"https://api.github.com/repos/ColinOsborn/general_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ColinOsborn/general_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ColinOsborn/general_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/ColinOsborn/general_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ColinOsborn/general_store/statuses/{sha}","languages_url":"https://api.github.com/repos/ColinOsborn/general_store/languages","stargazers_url":"https://api.github.com/repos/ColinOsborn/general_store/stargazers","contributors_url":"https://api.github.com/repos/ColinOsborn/general_store/contributors","subscribers_url":"https://api.github.com/repos/ColinOsborn/general_store/subscribers","subscription_url":"https://api.github.com/repos/ColinOsborn/general_store/subscription","commits_url":"https://api.github.com/repos/ColinOsborn/general_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/ColinOsborn/general_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/ColinOsborn/general_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/ColinOsborn/general_store/issues/comments{/number}","contents_url":"https://api.github.com/repos/ColinOsborn/general_store/contents/{+path}","compare_url":"https://api.github.com/repos/ColinOsborn/general_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ColinOsborn/general_store/merges","archive_url":"https://api.github.com/repos/ColinOsborn/general_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ColinOsborn/general_store/downloads","issues_url":"https://api.github.com/repos/ColinOsborn/general_store/issues{/number}","pulls_url":"https://api.github.com/repos/ColinOsborn/general_store/pulls{/number}","milestones_url":"https://api.github.com/repos/ColinOsborn/general_store/milestones{/number}","notifications_url":"https://api.github.com/repos/ColinOsborn/general_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ColinOsborn/general_store/labels{/name}","releases_url":"https://api.github.com/repos/ColinOsborn/general_store/releases{/id}","deployments_url":"https://api.github.com/repos/ColinOsborn/general_store/deployments","created_at":"2016-06-06T22:10:04Z","updated_at":"2016-06-07T00:08:09Z","pushed_at":"2016-06-15T18:12:58Z","git_url":"git://github.com/ColinOsborn/general_store.git","ssh_url":"git@github.com:ColinOsborn/general_store.git","clone_url":"https://github.com/ColinOsborn/general_store.git","svn_url":"https://github.com/ColinOsborn/general_store","homepage":null,"size":3150,"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":13,"forks":0,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108"},"html":{"href":"https://github.com/ColinOsborn/general_store/pull/108"},"issue":{"href":"https://api.github.com/repos/ColinOsborn/general_store/issues/108"},"comments":{"href":"https://api.github.com/repos/ColinOsborn/general_store/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/ColinOsborn/general_store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ColinOsborn/general_store/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/ColinOsborn/general_store/statuses/9e2623baa74b00cb738c118281a4798374b73705"}}}}
{"actor":{"display_login":"houndci-bot"}}