{"action":"created","comment":{"url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments/87858745","pull_request_review_id":8451920,"id":87858745,"diff_hunk":"@@ -0,0 +1,20 @@\n+require 'rails_helper'\n+\n+feature 'User create question', '\n+  I want to be able ask questions\n+' do\n+\n+  given(:user) { create(:user) }\n+  given(:question) { create(:question, user: user) }\n+\n+  scenario 'Authenticated user creates question' do\n+    sign_in(user)\n+\n+    visit question_path(question)\n+    fill_in('Your answer', with: 'body text')\n+    click_button 'Save'\n+\n+    expect(question.answers.last.user).to eq user\n+    expect(question.answers.last.body).to have_content 'body text'","path":"spec/features/answers/create_answer_spec.rb","position":18,"original_position":18,"commit_id":"9daa6fa77a1d95bb07a0859b95a4d8d90937011d","original_commit_id":"9daa6fa77a1d95bb07a0859b95a4d8d90937011d","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"body":"Once again: `expect(page)....`","created_at":"2016-11-14T18:13:23Z","updated_at":"2016-11-14T18:13:23Z","html_url":"https://github.com/pedrogabriel69/sof/pull/3#discussion_r87858745","pull_request_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments/87858745"},"html":{"href":"https://github.com/pedrogabriel69/sof/pull/3#discussion_r87858745"},"pull_request":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3","id":93457201,"html_url":"https://github.com/pedrogabriel69/sof/pull/3","diff_url":"https://github.com/pedrogabriel69/sof/pull/3.diff","patch_url":"https://github.com/pedrogabriel69/sof/pull/3.patch","issue_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/3","number":3,"state":"open","locked":false,"title":"L5","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-13T00:31:14Z","updated_at":"2016-11-14T18:13:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cdb55d794dcafa7d504276b703f32087aa6e1e09","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3/commits","review_comments_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3/comments","review_comment_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/3/comments","statuses_url":"https://api.github.com/repos/pedrogabriel69/sof/statuses/9daa6fa77a1d95bb07a0859b95a4d8d90937011d","head":{"label":"pedrogabriel69:l5","ref":"l5","sha":"9daa6fa77a1d95bb07a0859b95a4d8d90937011d","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"repo":{"id":73239865,"name":"sof","full_name":"pedrogabriel69/sof","owner":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedrogabriel69/sof","description":"Clone stackoverflow","fork":false,"url":"https://api.github.com/repos/pedrogabriel69/sof","forks_url":"https://api.github.com/repos/pedrogabriel69/sof/forks","keys_url":"https://api.github.com/repos/pedrogabriel69/sof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrogabriel69/sof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrogabriel69/sof/teams","hooks_url":"https://api.github.com/repos/pedrogabriel69/sof/hooks","issue_events_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/events{/number}","events_url":"https://api.github.com/repos/pedrogabriel69/sof/events","assignees_url":"https://api.github.com/repos/pedrogabriel69/sof/assignees{/user}","branches_url":"https://api.github.com/repos/pedrogabriel69/sof/branches{/branch}","tags_url":"https://api.github.com/repos/pedrogabriel69/sof/tags","blobs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrogabriel69/sof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrogabriel69/sof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrogabriel69/sof/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrogabriel69/sof/languages","stargazers_url":"https://api.github.com/repos/pedrogabriel69/sof/stargazers","contributors_url":"https://api.github.com/repos/pedrogabriel69/sof/contributors","subscribers_url":"https://api.github.com/repos/pedrogabriel69/sof/subscribers","subscription_url":"https://api.github.com/repos/pedrogabriel69/sof/subscription","commits_url":"https://api.github.com/repos/pedrogabriel69/sof/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrogabriel69/sof/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrogabriel69/sof/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrogabriel69/sof/contents/{+path}","compare_url":"https://api.github.com/repos/pedrogabriel69/sof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrogabriel69/sof/merges","archive_url":"https://api.github.com/repos/pedrogabriel69/sof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrogabriel69/sof/downloads","issues_url":"https://api.github.com/repos/pedrogabriel69/sof/issues{/number}","pulls_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrogabriel69/sof/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrogabriel69/sof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrogabriel69/sof/labels{/name}","releases_url":"https://api.github.com/repos/pedrogabriel69/sof/releases{/id}","deployments_url":"https://api.github.com/repos/pedrogabriel69/sof/deployments","created_at":"2016-11-09T00:41:56Z","updated_at":"2016-11-09T00:43:18Z","pushed_at":"2016-11-14T13:59:03Z","git_url":"git://github.com/pedrogabriel69/sof.git","ssh_url":"git@github.com:pedrogabriel69/sof.git","clone_url":"https://github.com/pedrogabriel69/sof.git","svn_url":"https://github.com/pedrogabriel69/sof","homepage":"","size":141,"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":"pedrogabriel69:master","ref":"master","sha":"c65b7de2451ac9a6e8c49c0c08d6b39af8fee24e","user":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"repo":{"id":73239865,"name":"sof","full_name":"pedrogabriel69/sof","owner":{"login":"pedrogabriel69","id":13108133,"avatar_url":"https://avatars.githubusercontent.com/u/13108133?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrogabriel69","html_url":"https://github.com/pedrogabriel69","followers_url":"https://api.github.com/users/pedrogabriel69/followers","following_url":"https://api.github.com/users/pedrogabriel69/following{/other_user}","gists_url":"https://api.github.com/users/pedrogabriel69/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrogabriel69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrogabriel69/subscriptions","organizations_url":"https://api.github.com/users/pedrogabriel69/orgs","repos_url":"https://api.github.com/users/pedrogabriel69/repos","events_url":"https://api.github.com/users/pedrogabriel69/events{/privacy}","received_events_url":"https://api.github.com/users/pedrogabriel69/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pedrogabriel69/sof","description":"Clone stackoverflow","fork":false,"url":"https://api.github.com/repos/pedrogabriel69/sof","forks_url":"https://api.github.com/repos/pedrogabriel69/sof/forks","keys_url":"https://api.github.com/repos/pedrogabriel69/sof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrogabriel69/sof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrogabriel69/sof/teams","hooks_url":"https://api.github.com/repos/pedrogabriel69/sof/hooks","issue_events_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/events{/number}","events_url":"https://api.github.com/repos/pedrogabriel69/sof/events","assignees_url":"https://api.github.com/repos/pedrogabriel69/sof/assignees{/user}","branches_url":"https://api.github.com/repos/pedrogabriel69/sof/branches{/branch}","tags_url":"https://api.github.com/repos/pedrogabriel69/sof/tags","blobs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrogabriel69/sof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrogabriel69/sof/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrogabriel69/sof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrogabriel69/sof/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrogabriel69/sof/languages","stargazers_url":"https://api.github.com/repos/pedrogabriel69/sof/stargazers","contributors_url":"https://api.github.com/repos/pedrogabriel69/sof/contributors","subscribers_url":"https://api.github.com/repos/pedrogabriel69/sof/subscribers","subscription_url":"https://api.github.com/repos/pedrogabriel69/sof/subscription","commits_url":"https://api.github.com/repos/pedrogabriel69/sof/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrogabriel69/sof/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrogabriel69/sof/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrogabriel69/sof/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrogabriel69/sof/contents/{+path}","compare_url":"https://api.github.com/repos/pedrogabriel69/sof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrogabriel69/sof/merges","archive_url":"https://api.github.com/repos/pedrogabriel69/sof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrogabriel69/sof/downloads","issues_url":"https://api.github.com/repos/pedrogabriel69/sof/issues{/number}","pulls_url":"https://api.github.com/repos/pedrogabriel69/sof/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrogabriel69/sof/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrogabriel69/sof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrogabriel69/sof/labels{/name}","releases_url":"https://api.github.com/repos/pedrogabriel69/sof/releases{/id}","deployments_url":"https://api.github.com/repos/pedrogabriel69/sof/deployments","created_at":"2016-11-09T00:41:56Z","updated_at":"2016-11-09T00:43:18Z","pushed_at":"2016-11-14T13:59:03Z","git_url":"git://github.com/pedrogabriel69/sof.git","ssh_url":"git@github.com:pedrogabriel69/sof.git","clone_url":"https://github.com/pedrogabriel69/sof.git","svn_url":"https://github.com/pedrogabriel69/sof","homepage":"","size":141,"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/pedrogabriel69/sof/pulls/3"},"html":{"href":"https://github.com/pedrogabriel69/sof/pull/3"},"issue":{"href":"https://api.github.com/repos/pedrogabriel69/sof/issues/3"},"comments":{"href":"https://api.github.com/repos/pedrogabriel69/sof/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pedrogabriel69/sof/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/pedrogabriel69/sof/statuses/9daa6fa77a1d95bb07a0859b95a4d8d90937011d"}}}}
{"actor":{"display_login":"palkan"}}