{"action":"created","comment":{"url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/comments/25398086","id":25398086,"diff_hunk":"@@ -42,6 +45,36 @@\n     end\n   end\n \n+  scenario \"admin sees total number of active students\" do\n+    admin = FactoryGirl.create(:user, role: \"admin\")\n+    FactoryGirl.create(:user_with_answered_quiz)\n+    FactoryGirl.create(:user_with_answered_quiz)\n+\n+    sign_in(admin)\n+\n+    click_link 'View Attendance'\n+\n+    within(\".columns.medium-6:first-child\") do","path":"spec/features/admin_views_attendence_spec.rb","position":23,"original_position":23,"commit_id":"40f1615af7677c7a7718f5f6d26519d2463a698e","original_commit_id":"40f1615af7677c7a7718f5f6d26519d2463a698e","user":{"login":"dpickett","id":1082,"avatar_url":"https://avatars.githubusercontent.com/u/1082?v=3","gravatar_id":"","url":"https://api.github.com/users/dpickett","html_url":"https://github.com/dpickett","followers_url":"https://api.github.com/users/dpickett/followers","following_url":"https://api.github.com/users/dpickett/following{/other_user}","gists_url":"https://api.github.com/users/dpickett/gists{/gist_id}","starred_url":"https://api.github.com/users/dpickett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpickett/subscriptions","organizations_url":"https://api.github.com/users/dpickett/orgs","repos_url":"https://api.github.com/users/dpickett/repos","events_url":"https://api.github.com/users/dpickett/events{/privacy}","received_events_url":"https://api.github.com/users/dpickett/received_events","type":"User","site_admin":false},"body":"this is probably a brittle selector - can we name the container with a class or ID to better isolate it and prevent this test from breaking if there are additional markup changes?","created_at":"2015-02-26T01:33:47Z","updated_at":"2015-02-26T01:33:47Z","html_url":"https://github.com/LaunchAcademy/diagnostics/pull/19#discussion_r25398086","pull_request_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/comments/25398086"},"html":{"href":"https://github.com/LaunchAcademy/diagnostics/pull/19#discussion_r25398086"},"pull_request":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19","id":30013610,"html_url":"https://github.com/LaunchAcademy/diagnostics/pull/19","diff_url":"https://github.com/LaunchAcademy/diagnostics/pull/19.diff","patch_url":"https://github.com/LaunchAcademy/diagnostics/pull/19.patch","issue_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/19","number":19,"state":"open","locked":false,"title":"Attendance totals","user":{"login":"cmkoller","id":8670086,"avatar_url":"https://avatars.githubusercontent.com/u/8670086?v=3","gravatar_id":"","url":"https://api.github.com/users/cmkoller","html_url":"https://github.com/cmkoller","followers_url":"https://api.github.com/users/cmkoller/followers","following_url":"https://api.github.com/users/cmkoller/following{/other_user}","gists_url":"https://api.github.com/users/cmkoller/gists{/gist_id}","starred_url":"https://api.github.com/users/cmkoller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmkoller/subscriptions","organizations_url":"https://api.github.com/users/cmkoller/orgs","repos_url":"https://api.github.com/users/cmkoller/repos","events_url":"https://api.github.com/users/cmkoller/events{/privacy}","received_events_url":"https://api.github.com/users/cmkoller/received_events","type":"User","site_admin":false},"body":"Add functionality for viewing total numbers of present/absent students to the Admin's Attendance page","created_at":"2015-02-25T18:45:08Z","updated_at":"2015-02-26T01:33:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"358dbc1dcdce4c2d289b1154681052cf18e1ec4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19/commits","review_comments_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19/comments","review_comment_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/19/comments","statuses_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/statuses/40f1615af7677c7a7718f5f6d26519d2463a698e","head":{"label":"LaunchAcademy:attendance-totals","ref":"attendance-totals","sha":"40f1615af7677c7a7718f5f6d26519d2463a698e","user":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":29353182,"name":"diagnostics","full_name":"LaunchAcademy/diagnostics","owner":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LaunchAcademy/diagnostics","description":"","fork":false,"url":"https://api.github.com/repos/LaunchAcademy/diagnostics","forks_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/forks","keys_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/teams","hooks_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/hooks","issue_events_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/events","assignees_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/tags","blobs_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/languages","stargazers_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/stargazers","contributors_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/contributors","subscribers_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/subscribers","subscription_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/subscription","commits_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/merges","archive_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/downloads","issues_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/labels{/name}","releases_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/releases{/id}","created_at":"2015-01-16T15:05:34Z","updated_at":"2015-02-25T17:54:26Z","pushed_at":"2015-02-25T18:43:32Z","git_url":"git://github.com/LaunchAcademy/diagnostics.git","ssh_url":"git@github.com:LaunchAcademy/diagnostics.git","clone_url":"https://github.com/LaunchAcademy/diagnostics.git","svn_url":"https://github.com/LaunchAcademy/diagnostics","homepage":null,"size":852,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LaunchAcademy:master","ref":"master","sha":"b886e3ba26a4901baa546f4258723aea7bb5a458","user":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"repo":{"id":29353182,"name":"diagnostics","full_name":"LaunchAcademy/diagnostics","owner":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?v=3","gravatar_id":"","url":"https://api.github.com/users/LaunchAcademy","html_url":"https://github.com/LaunchAcademy","followers_url":"https://api.github.com/users/LaunchAcademy/followers","following_url":"https://api.github.com/users/LaunchAcademy/following{/other_user}","gists_url":"https://api.github.com/users/LaunchAcademy/gists{/gist_id}","starred_url":"https://api.github.com/users/LaunchAcademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaunchAcademy/subscriptions","organizations_url":"https://api.github.com/users/LaunchAcademy/orgs","repos_url":"https://api.github.com/users/LaunchAcademy/repos","events_url":"https://api.github.com/users/LaunchAcademy/events{/privacy}","received_events_url":"https://api.github.com/users/LaunchAcademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LaunchAcademy/diagnostics","description":"","fork":false,"url":"https://api.github.com/repos/LaunchAcademy/diagnostics","forks_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/forks","keys_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/teams","hooks_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/hooks","issue_events_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/events","assignees_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/tags","blobs_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/languages","stargazers_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/stargazers","contributors_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/contributors","subscribers_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/subscribers","subscription_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/subscription","commits_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/comments{/number}","contents_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/merges","archive_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/downloads","issues_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/labels{/name}","releases_url":"https://api.github.com/repos/LaunchAcademy/diagnostics/releases{/id}","created_at":"2015-01-16T15:05:34Z","updated_at":"2015-02-25T17:54:26Z","pushed_at":"2015-02-25T18:43:32Z","git_url":"git://github.com/LaunchAcademy/diagnostics.git","ssh_url":"git@github.com:LaunchAcademy/diagnostics.git","clone_url":"https://github.com/LaunchAcademy/diagnostics.git","svn_url":"https://github.com/LaunchAcademy/diagnostics","homepage":null,"size":852,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19"},"html":{"href":"https://github.com/LaunchAcademy/diagnostics/pull/19"},"issue":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/19"},"comments":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/LaunchAcademy/diagnostics/statuses/40f1615af7677c7a7718f5f6d26519d2463a698e"}}}}