{"action":"created","comment":{"url":"https://api.github.com/repos/sebastiancaraballo/target/pulls/comments/230154022","pull_request_review_id":170824981,"id":230154022,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDE1NDAyMg==","diff_hunk":"@@ -0,0 +1,21 @@\n+require 'rails_helper'\n+\n+describe 'GET api/v1/users/:id', type: :request do\n+  let(:user)        { create(:user) }\n+  let(:other_user)  { create :user }\n+\n+  it 'returns success' do\n+    get api_v1_user_path(other_user), headers: auth_headers, as: :json","path":"spec/requests/api/v1/users/show_spec.rb","position":8,"original_position":8,"commit_id":"5f04aa006c7f69144a53679c652738e2c0287996","original_commit_id":"5f04aa006c7f69144a53679c652738e2c0287996","user":{"login":"mdornel","id":18334634,"node_id":"MDQ6VXNlcjE4MzM0NjM0","avatar_url":"https://avatars2.githubusercontent.com/u/18334634?v=4","gravatar_id":"","url":"https://api.github.com/users/mdornel","html_url":"https://github.com/mdornel","followers_url":"https://api.github.com/users/mdornel/followers","following_url":"https://api.github.com/users/mdornel/following{/other_user}","gists_url":"https://api.github.com/users/mdornel/gists{/gist_id}","starred_url":"https://api.github.com/users/mdornel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdornel/subscriptions","organizations_url":"https://api.github.com/users/mdornel/orgs","repos_url":"https://api.github.com/users/mdornel/repos","events_url":"https://api.github.com/users/mdornel/events{/privacy}","received_events_url":"https://api.github.com/users/mdornel/received_events","type":"User","site_admin":false},"body":"Same for this request, extract it to a before block","created_at":"2018-11-01T18:44:09Z","updated_at":"2018-11-01T18:44:47Z","html_url":"https://github.com/sebastiancaraballo/target/pull/18#discussion_r230154022","pull_request_url":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/sebastiancaraballo/target/pulls/comments/230154022"},"html":{"href":"https://github.com/sebastiancaraballo/target/pull/18#discussion_r230154022"},"pull_request":{"href":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18","id":227688149,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3Njg4MTQ5","html_url":"https://github.com/sebastiancaraballo/target/pull/18","diff_url":"https://github.com/sebastiancaraballo/target/pull/18.diff","patch_url":"https://github.com/sebastiancaraballo/target/pull/18.patch","issue_url":"https://api.github.com/repos/sebastiancaraballo/target/issues/18","number":18,"state":"open","locked":false,"title":"Implement get and update user's profile feature","user":{"login":"sebastiancaraballo","id":27789496,"node_id":"MDQ6VXNlcjI3Nzg5NDk2","avatar_url":"https://avatars1.githubusercontent.com/u/27789496?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastiancaraballo","html_url":"https://github.com/sebastiancaraballo","followers_url":"https://api.github.com/users/sebastiancaraballo/followers","following_url":"https://api.github.com/users/sebastiancaraballo/following{/other_user}","gists_url":"https://api.github.com/users/sebastiancaraballo/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiancaraballo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiancaraballo/subscriptions","organizations_url":"https://api.github.com/users/sebastiancaraballo/orgs","repos_url":"https://api.github.com/users/sebastiancaraballo/repos","events_url":"https://api.github.com/users/sebastiancaraballo/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiancaraballo/received_events","type":"User","site_admin":false},"body":"**Trello board reference:**\r\n\r\n- https://trello.com/c/jx6HB7Ia\r\n\r\n**Description:**\r\n- As a user I should be able to edit my account.\r\n- Implement get user's profile.\r\n- Implement update logged in user's profile.","created_at":"2018-11-01T16:59:41Z","updated_at":"2018-11-01T18:44:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"adc0bd798f118dde718cf53afb91e9f02a00f833","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nicofh","id":21092987,"node_id":"MDQ6VXNlcjIxMDkyOTg3","avatar_url":"https://avatars3.githubusercontent.com/u/21092987?v=4","gravatar_id":"","url":"https://api.github.com/users/nicofh","html_url":"https://github.com/nicofh","followers_url":"https://api.github.com/users/nicofh/followers","following_url":"https://api.github.com/users/nicofh/following{/other_user}","gists_url":"https://api.github.com/users/nicofh/gists{/gist_id}","starred_url":"https://api.github.com/users/nicofh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicofh/subscriptions","organizations_url":"https://api.github.com/users/nicofh/orgs","repos_url":"https://api.github.com/users/nicofh/repos","events_url":"https://api.github.com/users/nicofh/events{/privacy}","received_events_url":"https://api.github.com/users/nicofh/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18/commits","review_comments_url":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18/comments","review_comment_url":"https://api.github.com/repos/sebastiancaraballo/target/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sebastiancaraballo/target/issues/18/comments","statuses_url":"https://api.github.com/repos/sebastiancaraballo/target/statuses/5f04aa006c7f69144a53679c652738e2c0287996","head":{"label":"sebastiancaraballo:feature/userprofile","ref":"feature/userprofile","sha":"5f04aa006c7f69144a53679c652738e2c0287996","user":{"login":"sebastiancaraballo","id":27789496,"node_id":"MDQ6VXNlcjI3Nzg5NDk2","avatar_url":"https://avatars1.githubusercontent.com/u/27789496?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastiancaraballo","html_url":"https://github.com/sebastiancaraballo","followers_url":"https://api.github.com/users/sebastiancaraballo/followers","following_url":"https://api.github.com/users/sebastiancaraballo/following{/other_user}","gists_url":"https://api.github.com/users/sebastiancaraballo/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiancaraballo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiancaraballo/subscriptions","organizations_url":"https://api.github.com/users/sebastiancaraballo/orgs","repos_url":"https://api.github.com/users/sebastiancaraballo/repos","events_url":"https://api.github.com/users/sebastiancaraballo/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiancaraballo/received_events","type":"User","site_admin":false},"repo":{"id":149470338,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk0NzAzMzg=","name":"target","full_name":"sebastiancaraballo/target","private":false,"owner":{"login":"sebastiancaraballo","id":27789496,"node_id":"MDQ6VXNlcjI3Nzg5NDk2","avatar_url":"https://avatars1.githubusercontent.com/u/27789496?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastiancaraballo","html_url":"https://github.com/sebastiancaraballo","followers_url":"https://api.github.com/users/sebastiancaraballo/followers","following_url":"https://api.github.com/users/sebastiancaraballo/following{/other_user}","gists_url":"https://api.github.com/users/sebastiancaraballo/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiancaraballo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiancaraballo/subscriptions","organizations_url":"https://api.github.com/users/sebastiancaraballo/orgs","repos_url":"https://api.github.com/users/sebastiancaraballo/repos","events_url":"https://api.github.com/users/sebastiancaraballo/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiancaraballo/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sebastiancaraballo/target","description":null,"fork":false,"url":"https://api.github.com/repos/sebastiancaraballo/target","forks_url":"https://api.github.com/repos/sebastiancaraballo/target/forks","keys_url":"https://api.github.com/repos/sebastiancaraballo/target/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastiancaraballo/target/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastiancaraballo/target/teams","hooks_url":"https://api.github.com/repos/sebastiancaraballo/target/hooks","issue_events_url":"https://api.github.com/repos/sebastiancaraballo/target/issues/events{/number}","events_url":"https://api.github.com/repos/sebastiancaraballo/target/events","assignees_url":"https://api.github.com/repos/sebastiancaraballo/target/assignees{/user}","branches_url":"https://api.github.com/repos/sebastiancaraballo/target/branches{/branch}","tags_url":"https://api.github.com/repos/sebastiancaraballo/target/tags","blobs_url":"https://api.github.com/repos/sebastiancaraballo/target/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastiancaraballo/target/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastiancaraballo/target/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastiancaraballo/target/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastiancaraballo/target/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastiancaraballo/target/languages","stargazers_url":"https://api.github.com/repos/sebastiancaraballo/target/stargazers","contributors_url":"https://api.github.com/repos/sebastiancaraballo/target/contributors","subscribers_url":"https://api.github.com/repos/sebastiancaraballo/target/subscribers","subscription_url":"https://api.github.com/repos/sebastiancaraballo/target/subscription","commits_url":"https://api.github.com/repos/sebastiancaraballo/target/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastiancaraballo/target/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastiancaraballo/target/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastiancaraballo/target/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastiancaraballo/target/contents/{+path}","compare_url":"https://api.github.com/repos/sebastiancaraballo/target/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastiancaraballo/target/merges","archive_url":"https://api.github.com/repos/sebastiancaraballo/target/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastiancaraballo/target/downloads","issues_url":"https://api.github.com/repos/sebastiancaraballo/target/issues{/number}","pulls_url":"https://api.github.com/repos/sebastiancaraballo/target/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastiancaraballo/target/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastiancaraballo/target/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastiancaraballo/target/labels{/name}","releases_url":"https://api.github.com/repos/sebastiancaraballo/target/releases{/id}","deployments_url":"https://api.github.com/repos/sebastiancaraballo/target/deployments","created_at":"2018-09-19T15:14:52Z","updated_at":"2018-09-19T15:18:44Z","pushed_at":"2018-11-01T18:29:19Z","git_url":"git://github.com/sebastiancaraballo/target.git","ssh_url":"git@github.com:sebastiancaraballo/target.git","clone_url":"https://github.com/sebastiancaraballo/target.git","svn_url":"https://github.com/sebastiancaraballo/target","homepage":null,"size":103,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sebastiancaraballo:develop","ref":"develop","sha":"d05a62f9f50f025af8f9f3893f0fd15593194b88","user":{"login":"sebastiancaraballo","id":27789496,"node_id":"MDQ6VXNlcjI3Nzg5NDk2","avatar_url":"https://avatars1.githubusercontent.com/u/27789496?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastiancaraballo","html_url":"https://github.com/sebastiancaraballo","followers_url":"https://api.github.com/users/sebastiancaraballo/followers","following_url":"https://api.github.com/users/sebastiancaraballo/following{/other_user}","gists_url":"https://api.github.com/users/sebastiancaraballo/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiancaraballo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiancaraballo/subscriptions","organizations_url":"https://api.github.com/users/sebastiancaraballo/orgs","repos_url":"https://api.github.com/users/sebastiancaraballo/repos","events_url":"https://api.github.com/users/sebastiancaraballo/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiancaraballo/received_events","type":"User","site_admin":false},"repo":{"id":149470338,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk0NzAzMzg=","name":"target","full_name":"sebastiancaraballo/target","private":false,"owner":{"login":"sebastiancaraballo","id":27789496,"node_id":"MDQ6VXNlcjI3Nzg5NDk2","avatar_url":"https://avatars1.githubusercontent.com/u/27789496?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastiancaraballo","html_url":"https://github.com/sebastiancaraballo","followers_url":"https://api.github.com/users/sebastiancaraballo/followers","following_url":"https://api.github.com/users/sebastiancaraballo/following{/other_user}","gists_url":"https://api.github.com/users/sebastiancaraballo/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastiancaraballo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastiancaraballo/subscriptions","organizations_url":"https://api.github.com/users/sebastiancaraballo/orgs","repos_url":"https://api.github.com/users/sebastiancaraballo/repos","events_url":"https://api.github.com/users/sebastiancaraballo/events{/privacy}","received_events_url":"https://api.github.com/users/sebastiancaraballo/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sebastiancaraballo/target","description":null,"fork":false,"url":"https://api.github.com/repos/sebastiancaraballo/target","forks_url":"https://api.github.com/repos/sebastiancaraballo/target/forks","keys_url":"https://api.github.com/repos/sebastiancaraballo/target/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastiancaraballo/target/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastiancaraballo/target/teams","hooks_url":"https://api.github.com/repos/sebastiancaraballo/target/hooks","issue_events_url":"https://api.github.com/repos/sebastiancaraballo/target/issues/events{/number}","events_url":"https://api.github.com/repos/sebastiancaraballo/target/events","assignees_url":"https://api.github.com/repos/sebastiancaraballo/target/assignees{/user}","branches_url":"https://api.github.com/repos/sebastiancaraballo/target/branches{/branch}","tags_url":"https://api.github.com/repos/sebastiancaraballo/target/tags","blobs_url":"https://api.github.com/repos/sebastiancaraballo/target/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastiancaraballo/target/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastiancaraballo/target/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastiancaraballo/target/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastiancaraballo/target/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastiancaraballo/target/languages","stargazers_url":"https://api.github.com/repos/sebastiancaraballo/target/stargazers","contributors_url":"https://api.github.com/repos/sebastiancaraballo/target/contributors","subscribers_url":"https://api.github.com/repos/sebastiancaraballo/target/subscribers","subscription_url":"https://api.github.com/repos/sebastiancaraballo/target/subscription","commits_url":"https://api.github.com/repos/sebastiancaraballo/target/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastiancaraballo/target/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastiancaraballo/target/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastiancaraballo/target/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastiancaraballo/target/contents/{+path}","compare_url":"https://api.github.com/repos/sebastiancaraballo/target/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastiancaraballo/target/merges","archive_url":"https://api.github.com/repos/sebastiancaraballo/target/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastiancaraballo/target/downloads","issues_url":"https://api.github.com/repos/sebastiancaraballo/target/issues{/number}","pulls_url":"https://api.github.com/repos/sebastiancaraballo/target/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastiancaraballo/target/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastiancaraballo/target/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastiancaraballo/target/labels{/name}","releases_url":"https://api.github.com/repos/sebastiancaraballo/target/releases{/id}","deployments_url":"https://api.github.com/repos/sebastiancaraballo/target/deployments","created_at":"2018-09-19T15:14:52Z","updated_at":"2018-09-19T15:18:44Z","pushed_at":"2018-11-01T18:29:19Z","git_url":"git://github.com/sebastiancaraballo/target.git","ssh_url":"git@github.com:sebastiancaraballo/target.git","clone_url":"https://github.com/sebastiancaraballo/target.git","svn_url":"https://github.com/sebastiancaraballo/target","homepage":null,"size":103,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18"},"html":{"href":"https://github.com/sebastiancaraballo/target/pull/18"},"issue":{"href":"https://api.github.com/repos/sebastiancaraballo/target/issues/18"},"comments":{"href":"https://api.github.com/repos/sebastiancaraballo/target/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/sebastiancaraballo/target/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sebastiancaraballo/target/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/sebastiancaraballo/target/statuses/5f04aa006c7f69144a53679c652738e2c0287996"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mdornel"}}