{"action":"created","comment":{"url":"https://api.github.com/repos/wolox-training/gn-rails/pulls/comments/77820487","id":77820487,"diff_hunk":"@@ -130,13 +136,15 @@ def article_attrs(title)\n     end\n \n     context 'when updating an article with invalid parameters' do\n+      let(:invalid_title) { 'hi' }","path":"spec/controllers/articles_controller_spec.rb","position":null,"original_position":75,"commit_id":"60a270bbede9bbbe78a6ba4558b1a684b5dc8d6f","original_commit_id":"60a270bbede9bbbe78a6ba4558b1a684b5dc8d6f","user":{"login":"epintos","id":1047402,"avatar_url":"https://avatars.githubusercontent.com/u/1047402?v=3","gravatar_id":"","url":"https://api.github.com/users/epintos","html_url":"https://github.com/epintos","followers_url":"https://api.github.com/users/epintos/followers","following_url":"https://api.github.com/users/epintos/following{/other_user}","gists_url":"https://api.github.com/users/epintos/gists{/gist_id}","starred_url":"https://api.github.com/users/epintos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintos/subscriptions","organizations_url":"https://api.github.com/users/epintos/orgs","repos_url":"https://api.github.com/users/epintos/repos","events_url":"https://api.github.com/users/epintos/events{/privacy}","received_events_url":"https://api.github.com/users/epintos/received_events","type":"User","site_admin":false},"body":"You could add something with faker here also. Like a random word of 2 letters","created_at":"2016-09-07T13:25:02Z","updated_at":"2016-09-07T13:25:02Z","html_url":"https://github.com/wolox-training/gn-rails/pull/9#discussion_r77820487","pull_request_url":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/wolox-training/gn-rails/pulls/comments/77820487"},"html":{"href":"https://github.com/wolox-training/gn-rails/pull/9#discussion_r77820487"},"pull_request":{"href":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9","id":83743395,"html_url":"https://github.com/wolox-training/gn-rails/pull/9","diff_url":"https://github.com/wolox-training/gn-rails/pull/9.diff","patch_url":"https://github.com/wolox-training/gn-rails/pull/9.patch","issue_url":"https://api.github.com/repos/wolox-training/gn-rails/issues/9","number":9,"state":"open","locked":false,"title":"Adds tests for models and controllers using RSpec","user":{"login":"gnardini","id":6062888,"avatar_url":"https://avatars.githubusercontent.com/u/6062888?v=3","gravatar_id":"","url":"https://api.github.com/users/gnardini","html_url":"https://github.com/gnardini","followers_url":"https://api.github.com/users/gnardini/followers","following_url":"https://api.github.com/users/gnardini/following{/other_user}","gists_url":"https://api.github.com/users/gnardini/gists{/gist_id}","starred_url":"https://api.github.com/users/gnardini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnardini/subscriptions","organizations_url":"https://api.github.com/users/gnardini/orgs","repos_url":"https://api.github.com/users/gnardini/repos","events_url":"https://api.github.com/users/gnardini/events{/privacy}","received_events_url":"https://api.github.com/users/gnardini/received_events","type":"User","site_admin":false},"body":"## Summary\r\nTests were added using RSpec for articles, comments and their controllers.  \r\n\r\n**[Trello card](https://trello.com/c/52pH1ZNM/12-crear-tests-con-rspec-de-modelos-y-controllers)**\r\n\r\n## Known Issues\r\nThere are a few things I'm unsure about, I left comments on GitHub over them.","created_at":"2016-09-02T04:18:29Z","updated_at":"2016-09-07T13:25:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"534a1d187a0b00230b441935ff8b0e38a09ffc92","assignee":{"login":"epintos","id":1047402,"avatar_url":"https://avatars.githubusercontent.com/u/1047402?v=3","gravatar_id":"","url":"https://api.github.com/users/epintos","html_url":"https://github.com/epintos","followers_url":"https://api.github.com/users/epintos/followers","following_url":"https://api.github.com/users/epintos/following{/other_user}","gists_url":"https://api.github.com/users/epintos/gists{/gist_id}","starred_url":"https://api.github.com/users/epintos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintos/subscriptions","organizations_url":"https://api.github.com/users/epintos/orgs","repos_url":"https://api.github.com/users/epintos/repos","events_url":"https://api.github.com/users/epintos/events{/privacy}","received_events_url":"https://api.github.com/users/epintos/received_events","type":"User","site_admin":false},"assignees":[{"login":"epintos","id":1047402,"avatar_url":"https://avatars.githubusercontent.com/u/1047402?v=3","gravatar_id":"","url":"https://api.github.com/users/epintos","html_url":"https://github.com/epintos","followers_url":"https://api.github.com/users/epintos/followers","following_url":"https://api.github.com/users/epintos/following{/other_user}","gists_url":"https://api.github.com/users/epintos/gists{/gist_id}","starred_url":"https://api.github.com/users/epintos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epintos/subscriptions","organizations_url":"https://api.github.com/users/epintos/orgs","repos_url":"https://api.github.com/users/epintos/repos","events_url":"https://api.github.com/users/epintos/events{/privacy}","received_events_url":"https://api.github.com/users/epintos/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9/commits","review_comments_url":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9/comments","review_comment_url":"https://api.github.com/repos/wolox-training/gn-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wolox-training/gn-rails/issues/9/comments","statuses_url":"https://api.github.com/repos/wolox-training/gn-rails/statuses/60a270bbede9bbbe78a6ba4558b1a684b5dc8d6f","head":{"label":"wolox-training:rspec-tests","ref":"rspec-tests","sha":"60a270bbede9bbbe78a6ba4558b1a684b5dc8d6f","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":65932363,"name":"gn-rails","full_name":"wolox-training/gn-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/gn-rails","description":"Training G.N.","fork":false,"url":"https://api.github.com/repos/wolox-training/gn-rails","forks_url":"https://api.github.com/repos/wolox-training/gn-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/gn-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/gn-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/gn-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/gn-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/gn-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/gn-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/gn-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/gn-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/gn-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/gn-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/gn-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/gn-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/gn-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/gn-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/gn-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/gn-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/gn-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/gn-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/gn-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/gn-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/gn-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/gn-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/gn-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/gn-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/gn-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/gn-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/gn-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/gn-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/gn-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/gn-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/gn-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/gn-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/gn-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/gn-rails/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/gn-rails/deployments","created_at":"2016-08-17T18:31:34Z","updated_at":"2016-08-26T19:38:53Z","pushed_at":"2016-09-06T21:13:28Z","git_url":"git://github.com/wolox-training/gn-rails.git","ssh_url":"git@github.com:wolox-training/gn-rails.git","clone_url":"https://github.com/wolox-training/gn-rails.git","svn_url":"https://github.com/wolox-training/gn-rails","homepage":null,"size":336,"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":"wolox-training:master","ref":"master","sha":"3aacd0acd113d4a240f79bdcc53514fd4f84dce3","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":65932363,"name":"gn-rails","full_name":"wolox-training/gn-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/gn-rails","description":"Training G.N.","fork":false,"url":"https://api.github.com/repos/wolox-training/gn-rails","forks_url":"https://api.github.com/repos/wolox-training/gn-rails/forks","keys_url":"https://api.github.com/repos/wolox-training/gn-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wolox-training/gn-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wolox-training/gn-rails/teams","hooks_url":"https://api.github.com/repos/wolox-training/gn-rails/hooks","issue_events_url":"https://api.github.com/repos/wolox-training/gn-rails/issues/events{/number}","events_url":"https://api.github.com/repos/wolox-training/gn-rails/events","assignees_url":"https://api.github.com/repos/wolox-training/gn-rails/assignees{/user}","branches_url":"https://api.github.com/repos/wolox-training/gn-rails/branches{/branch}","tags_url":"https://api.github.com/repos/wolox-training/gn-rails/tags","blobs_url":"https://api.github.com/repos/wolox-training/gn-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wolox-training/gn-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wolox-training/gn-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/wolox-training/gn-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wolox-training/gn-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/wolox-training/gn-rails/languages","stargazers_url":"https://api.github.com/repos/wolox-training/gn-rails/stargazers","contributors_url":"https://api.github.com/repos/wolox-training/gn-rails/contributors","subscribers_url":"https://api.github.com/repos/wolox-training/gn-rails/subscribers","subscription_url":"https://api.github.com/repos/wolox-training/gn-rails/subscription","commits_url":"https://api.github.com/repos/wolox-training/gn-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/wolox-training/gn-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/wolox-training/gn-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/wolox-training/gn-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/wolox-training/gn-rails/contents/{+path}","compare_url":"https://api.github.com/repos/wolox-training/gn-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wolox-training/gn-rails/merges","archive_url":"https://api.github.com/repos/wolox-training/gn-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wolox-training/gn-rails/downloads","issues_url":"https://api.github.com/repos/wolox-training/gn-rails/issues{/number}","pulls_url":"https://api.github.com/repos/wolox-training/gn-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/wolox-training/gn-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/wolox-training/gn-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wolox-training/gn-rails/labels{/name}","releases_url":"https://api.github.com/repos/wolox-training/gn-rails/releases{/id}","deployments_url":"https://api.github.com/repos/wolox-training/gn-rails/deployments","created_at":"2016-08-17T18:31:34Z","updated_at":"2016-08-26T19:38:53Z","pushed_at":"2016-09-06T21:13:28Z","git_url":"git://github.com/wolox-training/gn-rails.git","ssh_url":"git@github.com:wolox-training/gn-rails.git","clone_url":"https://github.com/wolox-training/gn-rails.git","svn_url":"https://github.com/wolox-training/gn-rails","homepage":null,"size":336,"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/wolox-training/gn-rails/pulls/9"},"html":{"href":"https://github.com/wolox-training/gn-rails/pull/9"},"issue":{"href":"https://api.github.com/repos/wolox-training/gn-rails/issues/9"},"comments":{"href":"https://api.github.com/repos/wolox-training/gn-rails/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/wolox-training/gn-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wolox-training/gn-rails/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/wolox-training/gn-rails/statuses/60a270bbede9bbbe78a6ba4558b1a684b5dc8d6f"}}}}
{"actor":{"display_login":"epintos"}}