{"action":"created","comment":{"url":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments/57830231","id":57830231,"diff_hunk":"@@ -0,0 +1,120 @@\n+require \"rails_helper\"\n+\n+RSpec.feature \"UserViewsPassedAndUpcomingTickets\", type: :feature do\n+  include SpecHelpers\n+  scenario \"user views order history and sees upcoming and passed tickets\" do\n+    seller1 = user1\n+    seller2 = user2\n+\n+    event1 = category1.events.create!(\n+              name: \"Sun Festival\",\n+              venue_id: venue1.id,\n+              time: \"March 02, 2017 16:00\",\n+              status: \"active\")\n+\n+    event2 = category1.events.create!(\n+              name: \"EDM Spectacular\",\n+              venue_id: venue1.id,\n+              time: \"November 20, 2020 18:00\",\n+              status: \"active\")\n+\n+    event3 = category1.events.create!(\n+              name: \"Donuts Make Noise\",","path":"spec/features/user/user_views_passed_and_upcoming_tickets_spec.rb","position":22,"original_position":22,"commit_id":"2b4ad40d01483b0592aa881184ad9bfbac3b2643","original_commit_id":"2b4ad40d01483b0592aa881184ad9bfbac3b2643","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":"Indent the first parameter one step more than the start of the previous line.","created_at":"2016-03-30T02:37:02Z","updated_at":"2016-03-30T02:37:02Z","html_url":"https://github.com/damwhit/the_pivot/pull/63#discussion_r57830231","pull_request_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments/57830231"},"html":{"href":"https://github.com/damwhit/the_pivot/pull/63#discussion_r57830231"},"pull_request":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/damwhit/the_pivot/pulls/63","id":64563668,"html_url":"https://github.com/damwhit/the_pivot/pull/63","diff_url":"https://github.com/damwhit/the_pivot/pull/63.diff","patch_url":"https://github.com/damwhit/the_pivot/pull/63.patch","issue_url":"https://api.github.com/repos/damwhit/the_pivot/issues/63","number":63,"state":"open","locked":false,"title":"User Views Order History","user":{"login":"cheljoh","id":14203424,"avatar_url":"https://avatars.githubusercontent.com/u/14203424?v=3","gravatar_id":"","url":"https://api.github.com/users/cheljoh","html_url":"https://github.com/cheljoh","followers_url":"https://api.github.com/users/cheljoh/followers","following_url":"https://api.github.com/users/cheljoh/following{/other_user}","gists_url":"https://api.github.com/users/cheljoh/gists{/gist_id}","starred_url":"https://api.github.com/users/cheljoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheljoh/subscriptions","organizations_url":"https://api.github.com/users/cheljoh/orgs","repos_url":"https://api.github.com/users/cheljoh/repos","events_url":"https://api.github.com/users/cheljoh/events{/privacy}","received_events_url":"https://api.github.com/users/cheljoh/received_events","type":"User","site_admin":false},"body":"User can view all orders in order index.\r\nUsers can view tickets for an order organized by upcoming, past, and cancelled in order show","created_at":"2016-03-30T02:36:50Z","updated_at":"2016-03-30T02:37:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/63/commits","review_comments_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/63/comments","review_comment_url":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/damwhit/the_pivot/issues/63/comments","statuses_url":"https://api.github.com/repos/damwhit/the_pivot/statuses/2b4ad40d01483b0592aa881184ad9bfbac3b2643","head":{"label":"damwhit:user_views_order_history","ref":"user_views_order_history","sha":"2b4ad40d01483b0592aa881184ad9bfbac3b2643","user":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"repo":{"id":54416830,"name":"the_pivot","full_name":"damwhit/the_pivot","owner":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damwhit/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/damwhit/the_pivot","forks_url":"https://api.github.com/repos/damwhit/the_pivot/forks","keys_url":"https://api.github.com/repos/damwhit/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damwhit/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damwhit/the_pivot/teams","hooks_url":"https://api.github.com/repos/damwhit/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/damwhit/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/damwhit/the_pivot/events","assignees_url":"https://api.github.com/repos/damwhit/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/damwhit/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/damwhit/the_pivot/tags","blobs_url":"https://api.github.com/repos/damwhit/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damwhit/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damwhit/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/damwhit/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damwhit/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/damwhit/the_pivot/languages","stargazers_url":"https://api.github.com/repos/damwhit/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/damwhit/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/damwhit/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/damwhit/the_pivot/subscription","commits_url":"https://api.github.com/repos/damwhit/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/damwhit/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/damwhit/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/damwhit/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/damwhit/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/damwhit/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damwhit/the_pivot/merges","archive_url":"https://api.github.com/repos/damwhit/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damwhit/the_pivot/downloads","issues_url":"https://api.github.com/repos/damwhit/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/damwhit/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/damwhit/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/damwhit/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damwhit/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/damwhit/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/damwhit/the_pivot/deployments","created_at":"2016-03-21T19:29:55Z","updated_at":"2016-03-21T19:46:29Z","pushed_at":"2016-03-30T02:36:50Z","git_url":"git://github.com/damwhit/the_pivot.git","ssh_url":"git@github.com:damwhit/the_pivot.git","clone_url":"https://github.com/damwhit/the_pivot.git","svn_url":"https://github.com/damwhit/the_pivot","homepage":null,"size":54078,"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":27,"forks":0,"open_issues":27,"watchers":0,"default_branch":"master"}},"base":{"label":"damwhit:master","ref":"master","sha":"0759ea8a47984f8f9f4710b6130f9ac0df7a54ea","user":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"repo":{"id":54416830,"name":"the_pivot","full_name":"damwhit/the_pivot","owner":{"login":"damwhit","id":13105577,"avatar_url":"https://avatars.githubusercontent.com/u/13105577?v=3","gravatar_id":"","url":"https://api.github.com/users/damwhit","html_url":"https://github.com/damwhit","followers_url":"https://api.github.com/users/damwhit/followers","following_url":"https://api.github.com/users/damwhit/following{/other_user}","gists_url":"https://api.github.com/users/damwhit/gists{/gist_id}","starred_url":"https://api.github.com/users/damwhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damwhit/subscriptions","organizations_url":"https://api.github.com/users/damwhit/orgs","repos_url":"https://api.github.com/users/damwhit/repos","events_url":"https://api.github.com/users/damwhit/events{/privacy}","received_events_url":"https://api.github.com/users/damwhit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/damwhit/the_pivot","description":null,"fork":false,"url":"https://api.github.com/repos/damwhit/the_pivot","forks_url":"https://api.github.com/repos/damwhit/the_pivot/forks","keys_url":"https://api.github.com/repos/damwhit/the_pivot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/damwhit/the_pivot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/damwhit/the_pivot/teams","hooks_url":"https://api.github.com/repos/damwhit/the_pivot/hooks","issue_events_url":"https://api.github.com/repos/damwhit/the_pivot/issues/events{/number}","events_url":"https://api.github.com/repos/damwhit/the_pivot/events","assignees_url":"https://api.github.com/repos/damwhit/the_pivot/assignees{/user}","branches_url":"https://api.github.com/repos/damwhit/the_pivot/branches{/branch}","tags_url":"https://api.github.com/repos/damwhit/the_pivot/tags","blobs_url":"https://api.github.com/repos/damwhit/the_pivot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/damwhit/the_pivot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/damwhit/the_pivot/git/refs{/sha}","trees_url":"https://api.github.com/repos/damwhit/the_pivot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/damwhit/the_pivot/statuses/{sha}","languages_url":"https://api.github.com/repos/damwhit/the_pivot/languages","stargazers_url":"https://api.github.com/repos/damwhit/the_pivot/stargazers","contributors_url":"https://api.github.com/repos/damwhit/the_pivot/contributors","subscribers_url":"https://api.github.com/repos/damwhit/the_pivot/subscribers","subscription_url":"https://api.github.com/repos/damwhit/the_pivot/subscription","commits_url":"https://api.github.com/repos/damwhit/the_pivot/commits{/sha}","git_commits_url":"https://api.github.com/repos/damwhit/the_pivot/git/commits{/sha}","comments_url":"https://api.github.com/repos/damwhit/the_pivot/comments{/number}","issue_comment_url":"https://api.github.com/repos/damwhit/the_pivot/issues/comments{/number}","contents_url":"https://api.github.com/repos/damwhit/the_pivot/contents/{+path}","compare_url":"https://api.github.com/repos/damwhit/the_pivot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/damwhit/the_pivot/merges","archive_url":"https://api.github.com/repos/damwhit/the_pivot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/damwhit/the_pivot/downloads","issues_url":"https://api.github.com/repos/damwhit/the_pivot/issues{/number}","pulls_url":"https://api.github.com/repos/damwhit/the_pivot/pulls{/number}","milestones_url":"https://api.github.com/repos/damwhit/the_pivot/milestones{/number}","notifications_url":"https://api.github.com/repos/damwhit/the_pivot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/damwhit/the_pivot/labels{/name}","releases_url":"https://api.github.com/repos/damwhit/the_pivot/releases{/id}","deployments_url":"https://api.github.com/repos/damwhit/the_pivot/deployments","created_at":"2016-03-21T19:29:55Z","updated_at":"2016-03-21T19:46:29Z","pushed_at":"2016-03-30T02:36:50Z","git_url":"git://github.com/damwhit/the_pivot.git","ssh_url":"git@github.com:damwhit/the_pivot.git","clone_url":"https://github.com/damwhit/the_pivot.git","svn_url":"https://github.com/damwhit/the_pivot","homepage":null,"size":54078,"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":27,"forks":0,"open_issues":27,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/63"},"html":{"href":"https://github.com/damwhit/the_pivot/pull/63"},"issue":{"href":"https://api.github.com/repos/damwhit/the_pivot/issues/63"},"comments":{"href":"https://api.github.com/repos/damwhit/the_pivot/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/damwhit/the_pivot/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/damwhit/the_pivot/statuses/2b4ad40d01483b0592aa881184ad9bfbac3b2643"}}}}