{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/ek-rails/pulls/comments/100324849","pull_request_review_id":21024704,"id":100324849,"diff_hunk":"@@ -0,0 +1,162 @@\n+require 'rails_helper'\n+\n+describe Api::V1::BookSuggestionsController, type: :controller do\n+  describe 'POST #create' do\n+    context 'When creating a valid book suggestion' do","path":"spec/controllers/api/v1/book_suggestion_spec.rb","position":5,"original_position":5,"commit_id":"4a9739ed2f65a7bf99955a4ae5e5edd3ef1a8a2e","original_commit_id":"ed20fbe4af9ab0752d4d656fd9965b371f78b132","user":{"login":"francoprud","id":8209847,"avatar_url":"https://avatars.githubusercontent.com/u/8209847?v=3","gravatar_id":"","url":"https://api.github.com/users/francoprud","html_url":"https://github.com/francoprud","followers_url":"https://api.github.com/users/francoprud/followers","following_url":"https://api.github.com/users/francoprud/following{/other_user}","gists_url":"https://api.github.com/users/francoprud/gists{/gist_id}","starred_url":"https://api.github.com/users/francoprud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoprud/subscriptions","organizations_url":"https://api.github.com/users/francoprud/orgs","repos_url":"https://api.github.com/users/francoprud/repos","events_url":"https://api.github.com/users/francoprud/events{/privacy}","received_events_url":"https://api.github.com/users/francoprud/received_events","type":"User","site_admin":false},"body":"Add a test when user is authenticated and check if the `BookSuggestion` was assigned to user","created_at":"2017-02-09T15:03:33Z","updated_at":"2017-02-09T15:08:30Z","html_url":"https://github.com/wolox-training/ek-rails/pull/23#discussion_r100324849","pull_request_url":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/ek-rails/pulls/comments/100324849"},"html":{"href":"https://github.com/wolox-training/ek-rails/pull/23#discussion_r100324849"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23","id":104330546,"html_url":"https://github.com/wolox-training/ek-rails/pull/23","diff_url":"https://github.com/wolox-training/ek-rails/pull/23.diff","patch_url":"https://github.com/wolox-training/ek-rails/pull/23.patch","issue_url":"https://api.github.com/repos/wolox-training/ek-rails/issues/23","number":23,"state":"open","locked":false,"title":"Test suggestion","user":{"login":"erikankodelia","id":25153866,"avatar_url":"https://avatars.githubusercontent.com/u/25153866?v=3","gravatar_id":"","url":"https://api.github.com/users/erikankodelia","html_url":"https://github.com/erikankodelia","followers_url":"https://api.github.com/users/erikankodelia/followers","following_url":"https://api.github.com/users/erikankodelia/following{/other_user}","gists_url":"https://api.github.com/users/erikankodelia/gists{/gist_id}","starred_url":"https://api.github.com/users/erikankodelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikankodelia/subscriptions","organizations_url":"https://api.github.com/users/erikankodelia/orgs","repos_url":"https://api.github.com/users/erikankodelia/repos","events_url":"https://api.github.com/users/erikankodelia/events{/privacy}","received_events_url":"https://api.github.com/users/erikankodelia/received_events","type":"User","site_admin":false},"body":"Summary: create book suggestion tests\r\nTrelloCard: https://trello.com/c/FgzE6n5L/31-crear-test-para-endpoint-de-creacion-de-un-booksuggestion\r\n","created_at":"2017-02-02T12:45:20Z","updated_at":"2017-02-09T15:08:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"113bb3ab38e3d766ea4347dda1a8735916402700","assignee":{"login":"mdesanti","id":754482,"avatar_url":"https://avatars.githubusercontent.com/u/754482?v=3","gravatar_id":"","url":"https://api.github.com/users/mdesanti","html_url":"https://github.com/mdesanti","followers_url":"https://api.github.com/users/mdesanti/followers","following_url":"https://api.github.com/users/mdesanti/following{/other_user}","gists_url":"https://api.github.com/users/mdesanti/gists{/gist_id}","starred_url":"https://api.github.com/users/mdesanti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdesanti/subscriptions","organizations_url":"https://api.github.com/users/mdesanti/orgs","repos_url":"https://api.github.com/users/mdesanti/repos","events_url":"https://api.github.com/users/mdesanti/events{/privacy}","received_events_url":"https://api.github.com/users/mdesanti/received_events","type":"User","site_admin":false},"assignees":[{"login":"mdesanti","id":754482,"avatar_url":"https://avatars.githubusercontent.com/u/754482?v=3","gravatar_id":"","url":"https://api.github.com/users/mdesanti","html_url":"https://github.com/mdesanti","followers_url":"https://api.github.com/users/mdesanti/followers","following_url":"https://api.github.com/users/mdesanti/following{/other_user}","gists_url":"https://api.github.com/users/mdesanti/gists{/gist_id}","starred_url":"https://api.github.com/users/mdesanti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdesanti/subscriptions","organizations_url":"https://api.github.com/users/mdesanti/orgs","repos_url":"https://api.github.com/users/mdesanti/repos","events_url":"https://api.github.com/users/mdesanti/events{/privacy}","received_events_url":"https://api.github.com/users/mdesanti/received_events","type":"User","site_admin":false},{"login":"francoprud","id":8209847,"avatar_url":"https://avatars.githubusercontent.com/u/8209847?v=3","gravatar_id":"","url":"https://api.github.com/users/francoprud","html_url":"https://github.com/francoprud","followers_url":"https://api.github.com/users/francoprud/followers","following_url":"https://api.github.com/users/francoprud/following{/other_user}","gists_url":"https://api.github.com/users/francoprud/gists{/gist_id}","starred_url":"https://api.github.com/users/francoprud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoprud/subscriptions","organizations_url":"https://api.github.com/users/francoprud/orgs","repos_url":"https://api.github.com/users/francoprud/repos","events_url":"https://api.github.com/users/francoprud/events{/privacy}","received_events_url":"https://api.github.com/users/francoprud/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23/commits","review_comments_url":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23/comments","review_comment_url":"https://api.github.com/repos/wolox-training/ek-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/ek-rails/issues/23/comments","statuses_url":"https://api.github.com/repos/wolox-training/ek-rails/statuses/4a9739ed2f65a7bf99955a4ae5e5edd3ef1a8a2e","head":{"label":"wolox-training:test-suggestion","ref":"test-suggestion","sha":"4a9739ed2f65a7bf99955a4ae5e5edd3ef1a8a2e","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":79119761,"name":"ek-rails","full_name":"wolox-training/ek-rails","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/ek-rails","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/ek-rails","forks_url":"https://api.github.com/repos/wolox-training/ek-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/ek-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/ek-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/ek-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/ek-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/ek-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/ek-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/ek-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/ek-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/ek-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/ek-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/ek-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/ek-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/ek-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/ek-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/ek-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/ek-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/ek-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/ek-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/ek-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/ek-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/ek-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/ek-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/ek-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/ek-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/ek-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/ek-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/ek-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/ek-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/ek-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/ek-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/ek-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/ek-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/ek-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/ek-rails/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/ek-rails/deployments","created_at":"2017-01-16T13:14:27Z","updated_at":"2017-01-19T17:25:55Z","pushed_at":"2017-02-09T15:07:15Z","git_url":"git://github.com/wolox-training/ek-rails.git","ssh_url":"git@github.com:wolox-training/ek-rails.git","clone_url":"https://github.com/wolox-training/ek-rails.git","svn_url":"https://github.com/wolox-training/ek-rails","homepage":null,"size":496,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"wolox-training:master","ref":"master","sha":"6b6449450d4339400433ec18bd0ac018f864e397","user":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"repo":{"id":79119761,"name":"ek-rails","full_name":"wolox-training/ek-rails","owner":{"login":"wolox-training","id":14113351,"avatar_url":"https://avatars.githubusercontent.com/u/14113351?v=3","gravatar_id":"","url":"https://api.github.com/users/wolox-training","html_url":"https://github.com/wolox-training","followers_url":"https://api.github.com/users/wolox-training/followers","following_url":"https://api.github.com/users/wolox-training/following{/other_user}","gists_url":"https://api.github.com/users/wolox-training/gists{/gist_id}","starred_url":"https://api.github.com/users/wolox-training/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolox-training/subscriptions","organizations_url":"https://api.github.com/users/wolox-training/orgs","repos_url":"https://api.github.com/users/wolox-training/repos","events_url":"https://api.github.com/users/wolox-training/events{/privacy}","received_events_url":"https://api.github.com/users/wolox-training/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wolox-training/ek-rails","description":null,"fork":false,"url":"https://api.github.com/repos/wolox-training/ek-rails","forks_url":"https://api.github.com/repos/wolox-training/ek-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/ek-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/ek-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/ek-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/ek-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/ek-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/ek-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/ek-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/ek-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/ek-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/ek-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/ek-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/ek-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/ek-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/ek-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/ek-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/ek-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/ek-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/ek-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/ek-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/ek-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/ek-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/ek-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/ek-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/ek-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/ek-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/ek-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/ek-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/ek-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/ek-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/ek-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/ek-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/ek-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/ek-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/ek-rails/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/ek-rails/deployments","created_at":"2017-01-16T13:14:27Z","updated_at":"2017-01-19T17:25:55Z","pushed_at":"2017-02-09T15:07:15Z","git_url":"git://github.com/wolox-training/ek-rails.git","ssh_url":"git@github.com:wolox-training/ek-rails.git","clone_url":"https://github.com/wolox-training/ek-rails.git","svn_url":"https://github.com/wolox-training/ek-rails","homepage":null,"size":496,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23"},"html":{"href":"https://github.com/wolox-training/ek-rails/pull/23"},"issue":{"href":"https://api.github.com/repos/wolox-training/ek-rails/issues/23"},"comments":{"href":"https://api.github.com/repos/wolox-training/ek-rails/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/ek-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/ek-rails/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/ek-rails/statuses/4a9739ed2f65a7bf99955a4ae5e5edd3ef1a8a2e"}}}}
{"actor":{"display_login":"francoprud"}}