GitHub PullRequestReviewCommentEvent at 2014-06-27 15:29:23
Repository: neighborhoods
Actor: HeroicEric
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/comments/14298557","id":14298557,"diff_hunk":"@@ -0,0 +1,161 @@\n+require 'rails_helper'\n+\n+feature 'Admin logs in', %Q(\n+  As an admin, I want to be able to log in\n+  and see the admin links\n+) do\n+\n+  scenario 'admin logs in successfully' do\n+    attrs = {\n+      email: 'dog1111@face.com',\n+      password: 'Secret12345',\n+      role: 'admin'\n+    }\n+\n+    user = User.create!(attrs)","path":"spec/features/neighborhoods/user_can_be_admin_spec.rb","position":15,"original_position":15,"commit_id":"362c1a04c0bb0440c80e87641048f90a569f0e72","original_commit_id":"362c1a04c0bb0440c80e87641048f90a569f0e72","user":{"login":"HeroicEric","id":602204,"avatar_url":"https://avatars.githubusercontent.com/u/602204?","gravatar_id":"a6f6992a2f3ddf529f52e084346ddfce","url":"https://api.github.com/users/HeroicEric","html_url":"https://github.com/HeroicEric","followers_url":"https://api.github.com/users/HeroicEric/followers","following_url":"https://api.github.com/users/HeroicEric/following{/other_user}","gists_url":"https://api.github.com/users/HeroicEric/gists{/gist_id}","starred_url":"https://api.github.com/users/HeroicEric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeroicEric/subscriptions","organizations_url":"https://api.github.com/users/HeroicEric/orgs","repos_url":"https://api.github.com/users/HeroicEric/repos","events_url":"https://api.github.com/users/HeroicEric/events{/privacy}","received_events_url":"https://api.github.com/users/HeroicEric/received_events","type":"User","site_admin":false},"body":"We should use FactoryGirl here and create a factory for an admin.","created_at":"2014-06-27T15:29:23Z","updated_at":"2014-06-27T15:29:23Z","html_url":"https://github.com/LaunchAcademy/neighborhoods/pull/34#discussion_r14298557","pull_request_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/comments/14298557"},"html":{"href":"https://github.com/LaunchAcademy/neighborhoods/pull/34#discussion_r14298557"},"pull_request":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34","id":17701161,"html_url":"https://github.com/LaunchAcademy/neighborhoods/pull/34","diff_url":"https://github.com/LaunchAcademy/neighborhoods/pull/34.diff","patch_url":"https://github.com/LaunchAcademy/neighborhoods/pull/34.patch","issue_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/34","number":34,"state":"open","title":"Admin","user":{"login":"omidbachari","id":6855810,"avatar_url":"https://avatars.githubusercontent.com/u/6855810?","gravatar_id":"f83e9a187293b73f705b2a4e9c59cc06","url":"https://api.github.com/users/omidbachari","html_url":"https://github.com/omidbachari","followers_url":"https://api.github.com/users/omidbachari/followers","following_url":"https://api.github.com/users/omidbachari/following{/other_user}","gists_url":"https://api.github.com/users/omidbachari/gists{/gist_id}","starred_url":"https://api.github.com/users/omidbachari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omidbachari/subscriptions","organizations_url":"https://api.github.com/users/omidbachari/orgs","repos_url":"https://api.github.com/users/omidbachari/repos","events_url":"https://api.github.com/users/omidbachari/events{/privacy}","received_events_url":"https://api.github.com/users/omidbachari/received_events","type":"User","site_admin":false},"body":"Please pull this branch - We have resolved issue #11.","created_at":"2014-06-27T12:57:22Z","updated_at":"2014-06-27T15:29:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34/commits","review_comments_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34/comments","review_comment_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/comments/{number}","comments_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/34/comments","statuses_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/statuses/362c1a04c0bb0440c80e87641048f90a569f0e72","head":{"label":"LaunchAcademy:admin","ref":"admin","sha":"362c1a04c0bb0440c80e87641048f90a569f0e72","user":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?","gravatar_id":"3996dda93bb2ce2013929378c9ecff8d","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":21136834,"name":"neighborhoods","full_name":"LaunchAcademy/neighborhoods","owner":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?","gravatar_id":"3996dda93bb2ce2013929378c9ecff8d","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/neighborhoods","description":"","fork":false,"url":"https://api.github.com/repos/LaunchAcademy/neighborhoods","forks_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/forks","keys_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/teams","hooks_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/hooks","issue_events_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/events","assignees_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/tags","blobs_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/languages","stargazers_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/stargazers","contributors_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/contributors","subscribers_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/subscribers","subscription_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/subscription","commits_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/comments/{number}","contents_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/merges","archive_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/downloads","issues_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/labels{/name}","releases_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/releases{/id}","created_at":"2014-06-23T18:08:21Z","updated_at":"2014-06-25T12:21:37Z","pushed_at":"2014-06-27T13:50:48Z","git_url":"git://github.com/LaunchAcademy/neighborhoods.git","ssh_url":"git@github.com:LaunchAcademy/neighborhoods.git","clone_url":"https://github.com/LaunchAcademy/neighborhoods.git","svn_url":"https://github.com/LaunchAcademy/neighborhoods","homepage":null,"size":1476,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":1,"default_branch":"master"}},"base":{"label":"LaunchAcademy:master","ref":"master","sha":"1638dd1ca64ed6846cec7a615955308d958347b2","user":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?","gravatar_id":"3996dda93bb2ce2013929378c9ecff8d","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":21136834,"name":"neighborhoods","full_name":"LaunchAcademy/neighborhoods","owner":{"login":"LaunchAcademy","id":3612691,"avatar_url":"https://avatars.githubusercontent.com/u/3612691?","gravatar_id":"3996dda93bb2ce2013929378c9ecff8d","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/neighborhoods","description":"","fork":false,"url":"https://api.github.com/repos/LaunchAcademy/neighborhoods","forks_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/forks","keys_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/teams","hooks_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/hooks","issue_events_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/events{/number}","events_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/events","assignees_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/assignees{/user}","branches_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/branches{/branch}","tags_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/tags","blobs_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/refs{/sha}","trees_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/statuses/{sha}","languages_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/languages","stargazers_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/stargazers","contributors_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/contributors","subscribers_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/subscribers","subscription_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/subscription","commits_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/commits{/sha}","git_commits_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/git/commits{/sha}","comments_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/comments{/number}","issue_comment_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/comments/{number}","contents_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/contents/{+path}","compare_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/merges","archive_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/downloads","issues_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues{/number}","pulls_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls{/number}","milestones_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/milestones{/number}","notifications_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/labels{/name}","releases_url":"https://api.github.com/repos/LaunchAcademy/neighborhoods/releases{/id}","created_at":"2014-06-23T18:08:21Z","updated_at":"2014-06-25T12:21:37Z","pushed_at":"2014-06-27T13:50:48Z","git_url":"git://github.com/LaunchAcademy/neighborhoods.git","ssh_url":"git@github.com:LaunchAcademy/neighborhoods.git","clone_url":"https://github.com/LaunchAcademy/neighborhoods.git","svn_url":"https://github.com/LaunchAcademy/neighborhoods","homepage":null,"size":1476,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34"},"html":{"href":"https://github.com/LaunchAcademy/neighborhoods/pull/34"},"issue":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/34"},"comments":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/LaunchAcademy/neighborhoods/statuses/362c1a04c0bb0440c80e87641048f90a569f0e72"}}}}