GitHub PullRequestReviewCommentEvent at 2014-06-26 14:50:11
Repository: beard_reviews
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/comments/14244448","id":14244448,"diff_hunk":"@@ -0,0 +1,50 @@\n+require 'spec_helper'\n+\n+feature 'creates reviews' do\n+\n+  it 'authorized user can create a valid beard review' do\n+    beard = FactoryGirl.create(:beard)\n+    user = FactoryGirl.create(:user)\n+    sign_in_as(user)\n+    visit beard_path(beard)\n+\n+    review = FactoryGirl.build(:review)\n+    fill_in \"Title\", with: review.title\n+    fill_in \"Body\", with: review.body\n+\n+    click_on \"Submit Review\"\n+\n+    expect(page).to have_content beard.title\n+    expect(page).to have_content review.title\n+    expect(page).to have_content review.body\n+    expect(page).to have_content user.user_name\n+  end\n+\n+  it 'unauthorized user cannot create a beard review' do\n+    beard = FactoryGirl.create(:beard)\n+\n+    visit beard_path(beard)\n+\n+    review = FactoryGirl.build(:review)\n+    fill_in \"Title\", with: review.title\n+    fill_in \"Body\", with: review.body","path":"spec/features/user_creates_reviews_spec.rb","position":30,"original_position":30,"commit_id":"4ab3352d2a83cf6677f63375621280ae56ea8218","original_commit_id":"4ab3352d2a83cf6677f63375621280ae56ea8218","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2014-06-26T14:50:11Z","updated_at":"2014-06-26T14:50:11Z","html_url":"https://github.com/bowiesaurus/beard_reviews/pull/6#discussion_r14244448","pull_request_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/comments/14244448"},"html":{"href":"https://github.com/bowiesaurus/beard_reviews/pull/6#discussion_r14244448"},"pull_request":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6","id":17652381,"html_url":"https://github.com/bowiesaurus/beard_reviews/pull/6","diff_url":"https://github.com/bowiesaurus/beard_reviews/pull/6.diff","patch_url":"https://github.com/bowiesaurus/beard_reviews/pull/6.patch","issue_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/6","number":6,"state":"open","title":"RFR: User can see reviews spec","user":{"login":"bowiesaurus","id":6857095,"avatar_url":"https://avatars.githubusercontent.com/u/6857095?","gravatar_id":"e2f9c3a688a634f5109446d13eabd5dd","url":"https://api.github.com/users/bowiesaurus","html_url":"https://github.com/bowiesaurus","followers_url":"https://api.github.com/users/bowiesaurus/followers","following_url":"https://api.github.com/users/bowiesaurus/following{/other_user}","gists_url":"https://api.github.com/users/bowiesaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiesaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiesaurus/subscriptions","organizations_url":"https://api.github.com/users/bowiesaurus/orgs","repos_url":"https://api.github.com/users/bowiesaurus/repos","events_url":"https://api.github.com/users/bowiesaurus/events{/privacy}","received_events_url":"https://api.github.com/users/bowiesaurus/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-26T14:50:00Z","updated_at":"2014-06-26T14:50:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21201d28c85b3926e0ab83d49d2a4e457afa0fa1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6/commits","review_comments_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6/comments","review_comment_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/6/comments","statuses_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/statuses/4ab3352d2a83cf6677f63375621280ae56ea8218","head":{"label":"bowiesaurus:user_can_see_reviews_spec","ref":"user_can_see_reviews_spec","sha":"4ab3352d2a83cf6677f63375621280ae56ea8218","user":{"login":"bowiesaurus","id":6857095,"avatar_url":"https://avatars.githubusercontent.com/u/6857095?","gravatar_id":"e2f9c3a688a634f5109446d13eabd5dd","url":"https://api.github.com/users/bowiesaurus","html_url":"https://github.com/bowiesaurus","followers_url":"https://api.github.com/users/bowiesaurus/followers","following_url":"https://api.github.com/users/bowiesaurus/following{/other_user}","gists_url":"https://api.github.com/users/bowiesaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiesaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiesaurus/subscriptions","organizations_url":"https://api.github.com/users/bowiesaurus/orgs","repos_url":"https://api.github.com/users/bowiesaurus/repos","events_url":"https://api.github.com/users/bowiesaurus/events{/privacy}","received_events_url":"https://api.github.com/users/bowiesaurus/received_events","type":"User","site_admin":false},"repo":{"id":21136747,"name":"beard_reviews","full_name":"bowiesaurus/beard_reviews","owner":{"login":"bowiesaurus","id":6857095,"avatar_url":"https://avatars.githubusercontent.com/u/6857095?","gravatar_id":"e2f9c3a688a634f5109446d13eabd5dd","url":"https://api.github.com/users/bowiesaurus","html_url":"https://github.com/bowiesaurus","followers_url":"https://api.github.com/users/bowiesaurus/followers","following_url":"https://api.github.com/users/bowiesaurus/following{/other_user}","gists_url":"https://api.github.com/users/bowiesaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiesaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiesaurus/subscriptions","organizations_url":"https://api.github.com/users/bowiesaurus/orgs","repos_url":"https://api.github.com/users/bowiesaurus/repos","events_url":"https://api.github.com/users/bowiesaurus/events{/privacy}","received_events_url":"https://api.github.com/users/bowiesaurus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bowiesaurus/beard_reviews","description":"","fork":false,"url":"https://api.github.com/repos/bowiesaurus/beard_reviews","forks_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/forks","keys_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/teams","hooks_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/hooks","issue_events_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/events{/number}","events_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/events","assignees_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/assignees{/user}","branches_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/branches{/branch}","tags_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/tags","blobs_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/languages","stargazers_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/stargazers","contributors_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/contributors","subscribers_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/subscribers","subscription_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/subscription","commits_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/comments/{number}","contents_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/contents/{+path}","compare_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/merges","archive_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/downloads","issues_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues{/number}","pulls_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/labels{/name}","releases_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/releases{/id}","created_at":"2014-06-23T18:06:03Z","updated_at":"2014-06-25T15:33:50Z","pushed_at":"2014-06-26T14:48:59Z","git_url":"git://github.com/bowiesaurus/beard_reviews.git","ssh_url":"git@github.com:bowiesaurus/beard_reviews.git","clone_url":"https://github.com/bowiesaurus/beard_reviews.git","svn_url":"https://github.com/bowiesaurus/beard_reviews","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"bowiesaurus:master","ref":"master","sha":"01254213b6d0654f44311c8a6229878e9f517490","user":{"login":"bowiesaurus","id":6857095,"avatar_url":"https://avatars.githubusercontent.com/u/6857095?","gravatar_id":"e2f9c3a688a634f5109446d13eabd5dd","url":"https://api.github.com/users/bowiesaurus","html_url":"https://github.com/bowiesaurus","followers_url":"https://api.github.com/users/bowiesaurus/followers","following_url":"https://api.github.com/users/bowiesaurus/following{/other_user}","gists_url":"https://api.github.com/users/bowiesaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiesaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiesaurus/subscriptions","organizations_url":"https://api.github.com/users/bowiesaurus/orgs","repos_url":"https://api.github.com/users/bowiesaurus/repos","events_url":"https://api.github.com/users/bowiesaurus/events{/privacy}","received_events_url":"https://api.github.com/users/bowiesaurus/received_events","type":"User","site_admin":false},"repo":{"id":21136747,"name":"beard_reviews","full_name":"bowiesaurus/beard_reviews","owner":{"login":"bowiesaurus","id":6857095,"avatar_url":"https://avatars.githubusercontent.com/u/6857095?","gravatar_id":"e2f9c3a688a634f5109446d13eabd5dd","url":"https://api.github.com/users/bowiesaurus","html_url":"https://github.com/bowiesaurus","followers_url":"https://api.github.com/users/bowiesaurus/followers","following_url":"https://api.github.com/users/bowiesaurus/following{/other_user}","gists_url":"https://api.github.com/users/bowiesaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/bowiesaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowiesaurus/subscriptions","organizations_url":"https://api.github.com/users/bowiesaurus/orgs","repos_url":"https://api.github.com/users/bowiesaurus/repos","events_url":"https://api.github.com/users/bowiesaurus/events{/privacy}","received_events_url":"https://api.github.com/users/bowiesaurus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bowiesaurus/beard_reviews","description":"","fork":false,"url":"https://api.github.com/repos/bowiesaurus/beard_reviews","forks_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/forks","keys_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/teams","hooks_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/hooks","issue_events_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/events{/number}","events_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/events","assignees_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/assignees{/user}","branches_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/branches{/branch}","tags_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/tags","blobs_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/statuses/{sha}","languages_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/languages","stargazers_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/stargazers","contributors_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/contributors","subscribers_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/subscribers","subscription_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/subscription","commits_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/comments/{number}","contents_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/contents/{+path}","compare_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/merges","archive_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/downloads","issues_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues{/number}","pulls_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls{/number}","milestones_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/milestones{/number}","notifications_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/labels{/name}","releases_url":"https://api.github.com/repos/bowiesaurus/beard_reviews/releases{/id}","created_at":"2014-06-23T18:06:03Z","updated_at":"2014-06-25T15:33:50Z","pushed_at":"2014-06-26T14:48:59Z","git_url":"git://github.com/bowiesaurus/beard_reviews.git","ssh_url":"git@github.com:bowiesaurus/beard_reviews.git","clone_url":"https://github.com/bowiesaurus/beard_reviews.git","svn_url":"https://github.com/bowiesaurus/beard_reviews","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6"},"html":{"href":"https://github.com/bowiesaurus/beard_reviews/pull/6"},"issue":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/6"},"comments":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/bowiesaurus/beard_reviews/statuses/4ab3352d2a83cf6677f63375621280ae56ea8218"}}}}