{"action":"created","comment":{"url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/comments/111823737","pull_request_review_id":33093017,"id":111823737,"diff_hunk":"@@ -0,0 +1,34 @@\n+require 'rails_helper'\n+\n+RSpec.feature \"When a logged in admin visits dashboard\" do\n+\n+  before do\n+    @admin = create(:user)\n+    @admin.update(role: 1)\n+    allow_any_instance_of(ApplicationController).to receive(:current_user).and_return(@admin)\n+\n+    @user1 = create(:user_with_orders)\n+    @order1a = @user1.orders.first\n+    @order1a.update(status: \"Ordered\")\n+    @order1b = @user1.orders.last\n+    @order1b.update(status: \"Paid\")\n+\n+    create(:experience)\n+    @order1a.experiences_orders.create(quantity: 2, subtotal: 50, experience_id: 1)\n+\n+    visit admin_dashboard_index_path\n+  end\n+\n+  scenario \"can click on an individual order and sees order data and user data\" do\n+\n+    click_on \"1\"","path":"spec/features/admin/admin_sees_user_info_on_each_order.rb","position":24,"original_position":24,"commit_id":"e2711ada0002d2a87e4461465e77d5ebc3e46de3","original_commit_id":"e2711ada0002d2a87e4461465e77d5ebc3e46de3","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.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":"2017-04-17T21:16:15Z","updated_at":"2017-04-17T21:16:16Z","html_url":"https://github.com/somedayrainbows/tripvontrapp/pull/63#discussion_r111823737","pull_request_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/comments/111823737"},"html":{"href":"https://github.com/somedayrainbows/tripvontrapp/pull/63#discussion_r111823737"},"pull_request":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63","id":116205068,"html_url":"https://github.com/somedayrainbows/tripvontrapp/pull/63","diff_url":"https://github.com/somedayrainbows/tripvontrapp/pull/63.diff","patch_url":"https://github.com/somedayrainbows/tripvontrapp/pull/63.patch","issue_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/63","number":63,"state":"open","locked":false,"title":"Completes admin views an individual order","user":{"login":"slague","id":21252193,"avatar_url":"https://avatars3.githubusercontent.com/u/21252193?v=3","gravatar_id":"","url":"https://api.github.com/users/slague","html_url":"https://github.com/slague","followers_url":"https://api.github.com/users/slague/followers","following_url":"https://api.github.com/users/slague/following{/other_user}","gists_url":"https://api.github.com/users/slague/gists{/gist_id}","starred_url":"https://api.github.com/users/slague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slague/subscriptions","organizations_url":"https://api.github.com/users/slague/orgs","repos_url":"https://api.github.com/users/slague/repos","events_url":"https://api.github.com/users/slague/events{/privacy}","received_events_url":"https://api.github.com/users/slague/received_events","type":"User","site_admin":false},"body":"* added a total_price method to order.rb\r\n* updated order show view to include name and email \r\n* updated seeds to include experiences_orders\r\n* all tests pass","created_at":"2017-04-17T21:16:05Z","updated_at":"2017-04-17T21:16:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cef90e1ac783f16f23e599232d710d3b0ce55387","assignee":{"login":"slague","id":21252193,"avatar_url":"https://avatars3.githubusercontent.com/u/21252193?v=3","gravatar_id":"","url":"https://api.github.com/users/slague","html_url":"https://github.com/slague","followers_url":"https://api.github.com/users/slague/followers","following_url":"https://api.github.com/users/slague/following{/other_user}","gists_url":"https://api.github.com/users/slague/gists{/gist_id}","starred_url":"https://api.github.com/users/slague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slague/subscriptions","organizations_url":"https://api.github.com/users/slague/orgs","repos_url":"https://api.github.com/users/slague/repos","events_url":"https://api.github.com/users/slague/events{/privacy}","received_events_url":"https://api.github.com/users/slague/received_events","type":"User","site_admin":false},"assignees":[{"login":"slague","id":21252193,"avatar_url":"https://avatars3.githubusercontent.com/u/21252193?v=3","gravatar_id":"","url":"https://api.github.com/users/slague","html_url":"https://github.com/slague","followers_url":"https://api.github.com/users/slague/followers","following_url":"https://api.github.com/users/slague/following{/other_user}","gists_url":"https://api.github.com/users/slague/gists{/gist_id}","starred_url":"https://api.github.com/users/slague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slague/subscriptions","organizations_url":"https://api.github.com/users/slague/orgs","repos_url":"https://api.github.com/users/slague/repos","events_url":"https://api.github.com/users/slague/events{/privacy}","received_events_url":"https://api.github.com/users/slague/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63/commits","review_comments_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63/comments","review_comment_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/63/comments","statuses_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/statuses/e2711ada0002d2a87e4461465e77d5ebc3e46de3","head":{"label":"somedayrainbows:19_try_again","ref":"19_try_again","sha":"e2711ada0002d2a87e4461465e77d5ebc3e46de3","user":{"login":"somedayrainbows","id":16053570,"avatar_url":"https://avatars0.githubusercontent.com/u/16053570?v=3","gravatar_id":"","url":"https://api.github.com/users/somedayrainbows","html_url":"https://github.com/somedayrainbows","followers_url":"https://api.github.com/users/somedayrainbows/followers","following_url":"https://api.github.com/users/somedayrainbows/following{/other_user}","gists_url":"https://api.github.com/users/somedayrainbows/gists{/gist_id}","starred_url":"https://api.github.com/users/somedayrainbows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somedayrainbows/subscriptions","organizations_url":"https://api.github.com/users/somedayrainbows/orgs","repos_url":"https://api.github.com/users/somedayrainbows/repos","events_url":"https://api.github.com/users/somedayrainbows/events{/privacy}","received_events_url":"https://api.github.com/users/somedayrainbows/received_events","type":"User","site_admin":false},"repo":{"id":87854113,"name":"tripvontrapp","full_name":"somedayrainbows/tripvontrapp","owner":{"login":"somedayrainbows","id":16053570,"avatar_url":"https://avatars0.githubusercontent.com/u/16053570?v=3","gravatar_id":"","url":"https://api.github.com/users/somedayrainbows","html_url":"https://github.com/somedayrainbows","followers_url":"https://api.github.com/users/somedayrainbows/followers","following_url":"https://api.github.com/users/somedayrainbows/following{/other_user}","gists_url":"https://api.github.com/users/somedayrainbows/gists{/gist_id}","starred_url":"https://api.github.com/users/somedayrainbows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somedayrainbows/subscriptions","organizations_url":"https://api.github.com/users/somedayrainbows/orgs","repos_url":"https://api.github.com/users/somedayrainbows/repos","events_url":"https://api.github.com/users/somedayrainbows/events{/privacy}","received_events_url":"https://api.github.com/users/somedayrainbows/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/somedayrainbows/tripvontrapp","description":null,"fork":false,"url":"https://api.github.com/repos/somedayrainbows/tripvontrapp","forks_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/forks","keys_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/teams","hooks_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/hooks","issue_events_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/events{/number}","events_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/events","assignees_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/assignees{/user}","branches_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/branches{/branch}","tags_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/tags","blobs_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/statuses/{sha}","languages_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/languages","stargazers_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/stargazers","contributors_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/contributors","subscribers_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/subscribers","subscription_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/subscription","commits_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/contents/{+path}","compare_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/merges","archive_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/downloads","issues_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues{/number}","pulls_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls{/number}","milestones_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/milestones{/number}","notifications_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/labels{/name}","releases_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/releases{/id}","deployments_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/deployments","created_at":"2017-04-10T20:21:46Z","updated_at":"2017-04-13T04:53:18Z","pushed_at":"2017-04-17T21:16:06Z","git_url":"git://github.com/somedayrainbows/tripvontrapp.git","ssh_url":"git@github.com:somedayrainbows/tripvontrapp.git","clone_url":"https://github.com/somedayrainbows/tripvontrapp.git","svn_url":"https://github.com/somedayrainbows/tripvontrapp","homepage":null,"size":1133,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"somedayrainbows:master","ref":"master","sha":"989febf4f2d95b2ba67d9e9262b9b88b3c412353","user":{"login":"somedayrainbows","id":16053570,"avatar_url":"https://avatars0.githubusercontent.com/u/16053570?v=3","gravatar_id":"","url":"https://api.github.com/users/somedayrainbows","html_url":"https://github.com/somedayrainbows","followers_url":"https://api.github.com/users/somedayrainbows/followers","following_url":"https://api.github.com/users/somedayrainbows/following{/other_user}","gists_url":"https://api.github.com/users/somedayrainbows/gists{/gist_id}","starred_url":"https://api.github.com/users/somedayrainbows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somedayrainbows/subscriptions","organizations_url":"https://api.github.com/users/somedayrainbows/orgs","repos_url":"https://api.github.com/users/somedayrainbows/repos","events_url":"https://api.github.com/users/somedayrainbows/events{/privacy}","received_events_url":"https://api.github.com/users/somedayrainbows/received_events","type":"User","site_admin":false},"repo":{"id":87854113,"name":"tripvontrapp","full_name":"somedayrainbows/tripvontrapp","owner":{"login":"somedayrainbows","id":16053570,"avatar_url":"https://avatars0.githubusercontent.com/u/16053570?v=3","gravatar_id":"","url":"https://api.github.com/users/somedayrainbows","html_url":"https://github.com/somedayrainbows","followers_url":"https://api.github.com/users/somedayrainbows/followers","following_url":"https://api.github.com/users/somedayrainbows/following{/other_user}","gists_url":"https://api.github.com/users/somedayrainbows/gists{/gist_id}","starred_url":"https://api.github.com/users/somedayrainbows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somedayrainbows/subscriptions","organizations_url":"https://api.github.com/users/somedayrainbows/orgs","repos_url":"https://api.github.com/users/somedayrainbows/repos","events_url":"https://api.github.com/users/somedayrainbows/events{/privacy}","received_events_url":"https://api.github.com/users/somedayrainbows/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/somedayrainbows/tripvontrapp","description":null,"fork":false,"url":"https://api.github.com/repos/somedayrainbows/tripvontrapp","forks_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/forks","keys_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/teams","hooks_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/hooks","issue_events_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/events{/number}","events_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/events","assignees_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/assignees{/user}","branches_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/branches{/branch}","tags_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/tags","blobs_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/statuses/{sha}","languages_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/languages","stargazers_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/stargazers","contributors_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/contributors","subscribers_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/subscribers","subscription_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/subscription","commits_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/contents/{+path}","compare_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/merges","archive_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/downloads","issues_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues{/number}","pulls_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls{/number}","milestones_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/milestones{/number}","notifications_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/labels{/name}","releases_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/releases{/id}","deployments_url":"https://api.github.com/repos/somedayrainbows/tripvontrapp/deployments","created_at":"2017-04-10T20:21:46Z","updated_at":"2017-04-13T04:53:18Z","pushed_at":"2017-04-17T21:16:06Z","git_url":"git://github.com/somedayrainbows/tripvontrapp.git","ssh_url":"git@github.com:somedayrainbows/tripvontrapp.git","clone_url":"https://github.com/somedayrainbows/tripvontrapp.git","svn_url":"https://github.com/somedayrainbows/tripvontrapp","homepage":null,"size":1133,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63"},"html":{"href":"https://github.com/somedayrainbows/tripvontrapp/pull/63"},"issue":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/63"},"comments":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/somedayrainbows/tripvontrapp/statuses/e2711ada0002d2a87e4461465e77d5ebc3e46de3"}}}}
{"actor":{"display_login":"houndci-bot"}}