{"action":"created","comment":{"url":"https://api.github.com/repos/Heldraug/GemMining/pulls/comments/36895050","id":36895050,"diff_hunk":"@@ -0,0 +1,14 @@\n+require 'test_helper'\n+\n+class GithubSourceControllerTest < ActionController::TestCase\n+  test \"should get repositories\" do\n+    get :repositories\n+    assert_response :success\n+  end\n+\n+  test \"should get process_repositories\" do\n+    get :process_repositories","path":"test/controllers/github_source_controller_test.rb","position":null,"original_position":10,"commit_id":"d66e597e0c3be7f89836fbd63ca3e0f37769d823","original_commit_id":"0d9d09fbbb6bcaa38fcca6df8d3bafbef9a1994e","user":{"login":"asccigcc","id":777034,"avatar_url":"https://avatars.githubusercontent.com/u/777034?v=3","gravatar_id":"","url":"https://api.github.com/users/asccigcc","html_url":"https://github.com/asccigcc","followers_url":"https://api.github.com/users/asccigcc/followers","following_url":"https://api.github.com/users/asccigcc/following{/other_user}","gists_url":"https://api.github.com/users/asccigcc/gists{/gist_id}","starred_url":"https://api.github.com/users/asccigcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asccigcc/subscriptions","organizations_url":"https://api.github.com/users/asccigcc/orgs","repos_url":"https://api.github.com/users/asccigcc/repos","events_url":"https://api.github.com/users/asccigcc/events{/privacy}","received_events_url":"https://api.github.com/users/asccigcc/received_events","type":"User","site_admin":false},"body":"Va que va, lo agrego como punto.\n\n2015-08-12 12:13 GMT-05:00 Gerardo Galíndez <notifications@github.com>:\n\n> In test/controllers/github_source_controller_test.rb\n> <https://github.com/Heldraug/GemMining/pull/2#discussion_r36886505>:\n>\n> > @@ -0,0 +1,14 @@\n> > +require 'test_helper'\n> > +\n> > +class GithubSourceControllerTest < ActionController::TestCase\n> > +  test \"should get repositories\" do\n> > +    get :repositories\n> > +    assert_response :success\n> > +  end\n> > +\n> > +  test \"should get process_repositories\" do\n> > +    get :process_repositories\n>\n> Siempre puedes usar un mock object. Apúntalo también y lo discutimos.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Heldraug/GemMining/pull/2/files#r36886505>.\n>\n","created_at":"2015-08-12T18:21:09Z","updated_at":"2015-08-12T18:21:09Z","html_url":"https://github.com/Heldraug/GemMining/pull/2#discussion_r36895050","pull_request_url":"https://api.github.com/repos/Heldraug/GemMining/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Heldraug/GemMining/pulls/comments/36895050"},"html":{"href":"https://github.com/Heldraug/GemMining/pull/2#discussion_r36895050"},"pull_request":{"href":"https://api.github.com/repos/Heldraug/GemMining/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Heldraug/GemMining/pulls/2","id":42068070,"html_url":"https://github.com/Heldraug/GemMining/pull/2","diff_url":"https://github.com/Heldraug/GemMining/pull/2.diff","patch_url":"https://github.com/Heldraug/GemMining/pull/2.patch","issue_url":"https://api.github.com/repos/Heldraug/GemMining/issues/2","number":2,"state":"open","locked":false,"title":"Feature/read GitHub repo","user":{"login":"asccigcc","id":777034,"avatar_url":"https://avatars.githubusercontent.com/u/777034?v=3","gravatar_id":"","url":"https://api.github.com/users/asccigcc","html_url":"https://github.com/asccigcc","followers_url":"https://api.github.com/users/asccigcc/followers","following_url":"https://api.github.com/users/asccigcc/following{/other_user}","gists_url":"https://api.github.com/users/asccigcc/gists{/gist_id}","starred_url":"https://api.github.com/users/asccigcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asccigcc/subscriptions","organizations_url":"https://api.github.com/users/asccigcc/orgs","repos_url":"https://api.github.com/users/asccigcc/repos","events_url":"https://api.github.com/users/asccigcc/events{/privacy}","received_events_url":"https://api.github.com/users/asccigcc/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-10T21:24:12Z","updated_at":"2015-08-12T18:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c2d09134a8a1c70a43c2a8ac8bbaaaf91930c7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Heldraug/GemMining/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Heldraug/GemMining/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Heldraug/GemMining/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Heldraug/GemMining/issues/2/comments","statuses_url":"https://api.github.com/repos/Heldraug/GemMining/statuses/d66e597e0c3be7f89836fbd63ca3e0f37769d823","head":{"label":"Heldraug:feature/read-github-repo","ref":"feature/read-github-repo","sha":"d66e597e0c3be7f89836fbd63ca3e0f37769d823","user":{"login":"Heldraug","id":1566813,"avatar_url":"https://avatars.githubusercontent.com/u/1566813?v=3","gravatar_id":"","url":"https://api.github.com/users/Heldraug","html_url":"https://github.com/Heldraug","followers_url":"https://api.github.com/users/Heldraug/followers","following_url":"https://api.github.com/users/Heldraug/following{/other_user}","gists_url":"https://api.github.com/users/Heldraug/gists{/gist_id}","starred_url":"https://api.github.com/users/Heldraug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Heldraug/subscriptions","organizations_url":"https://api.github.com/users/Heldraug/orgs","repos_url":"https://api.github.com/users/Heldraug/repos","events_url":"https://api.github.com/users/Heldraug/events{/privacy}","received_events_url":"https://api.github.com/users/Heldraug/received_events","type":"User","site_admin":false},"repo":{"id":38514311,"name":"GemMining","full_name":"Heldraug/GemMining","owner":{"login":"Heldraug","id":1566813,"avatar_url":"https://avatars.githubusercontent.com/u/1566813?v=3","gravatar_id":"","url":"https://api.github.com/users/Heldraug","html_url":"https://github.com/Heldraug","followers_url":"https://api.github.com/users/Heldraug/followers","following_url":"https://api.github.com/users/Heldraug/following{/other_user}","gists_url":"https://api.github.com/users/Heldraug/gists{/gist_id}","starred_url":"https://api.github.com/users/Heldraug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Heldraug/subscriptions","organizations_url":"https://api.github.com/users/Heldraug/orgs","repos_url":"https://api.github.com/users/Heldraug/repos","events_url":"https://api.github.com/users/Heldraug/events{/privacy}","received_events_url":"https://api.github.com/users/Heldraug/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Heldraug/GemMining","description":"Gemfile static analysis tool.","fork":false,"url":"https://api.github.com/repos/Heldraug/GemMining","forks_url":"https://api.github.com/repos/Heldraug/GemMining/forks","keys_url":"https://api.github.com/repos/Heldraug/GemMining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Heldraug/GemMining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Heldraug/GemMining/teams","hooks_url":"https://api.github.com/repos/Heldraug/GemMining/hooks","issue_events_url":"https://api.github.com/repos/Heldraug/GemMining/issues/events{/number}","events_url":"https://api.github.com/repos/Heldraug/GemMining/events","assignees_url":"https://api.github.com/repos/Heldraug/GemMining/assignees{/user}","branches_url":"https://api.github.com/repos/Heldraug/GemMining/branches{/branch}","tags_url":"https://api.github.com/repos/Heldraug/GemMining/tags","blobs_url":"https://api.github.com/repos/Heldraug/GemMining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Heldraug/GemMining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Heldraug/GemMining/git/refs{/sha}","trees_url":"https://api.github.com/repos/Heldraug/GemMining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Heldraug/GemMining/statuses/{sha}","languages_url":"https://api.github.com/repos/Heldraug/GemMining/languages","stargazers_url":"https://api.github.com/repos/Heldraug/GemMining/stargazers","contributors_url":"https://api.github.com/repos/Heldraug/GemMining/contributors","subscribers_url":"https://api.github.com/repos/Heldraug/GemMining/subscribers","subscription_url":"https://api.github.com/repos/Heldraug/GemMining/subscription","commits_url":"https://api.github.com/repos/Heldraug/GemMining/commits{/sha}","git_commits_url":"https://api.github.com/repos/Heldraug/GemMining/git/commits{/sha}","comments_url":"https://api.github.com/repos/Heldraug/GemMining/comments{/number}","issue_comment_url":"https://api.github.com/repos/Heldraug/GemMining/issues/comments{/number}","contents_url":"https://api.github.com/repos/Heldraug/GemMining/contents/{+path}","compare_url":"https://api.github.com/repos/Heldraug/GemMining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Heldraug/GemMining/merges","archive_url":"https://api.github.com/repos/Heldraug/GemMining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Heldraug/GemMining/downloads","issues_url":"https://api.github.com/repos/Heldraug/GemMining/issues{/number}","pulls_url":"https://api.github.com/repos/Heldraug/GemMining/pulls{/number}","milestones_url":"https://api.github.com/repos/Heldraug/GemMining/milestones{/number}","notifications_url":"https://api.github.com/repos/Heldraug/GemMining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Heldraug/GemMining/labels{/name}","releases_url":"https://api.github.com/repos/Heldraug/GemMining/releases{/id}","created_at":"2015-07-03T23:28:16Z","updated_at":"2015-07-03T23:49:01Z","pushed_at":"2015-08-12T04:50:19Z","git_url":"git://github.com/Heldraug/GemMining.git","ssh_url":"git@github.com:Heldraug/GemMining.git","clone_url":"https://github.com/Heldraug/GemMining.git","svn_url":"https://github.com/Heldraug/GemMining","homepage":null,"size":216,"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":"Heldraug:master","ref":"master","sha":"59f63e31e0417089719de7b0a44702d7c9bdaef6","user":{"login":"Heldraug","id":1566813,"avatar_url":"https://avatars.githubusercontent.com/u/1566813?v=3","gravatar_id":"","url":"https://api.github.com/users/Heldraug","html_url":"https://github.com/Heldraug","followers_url":"https://api.github.com/users/Heldraug/followers","following_url":"https://api.github.com/users/Heldraug/following{/other_user}","gists_url":"https://api.github.com/users/Heldraug/gists{/gist_id}","starred_url":"https://api.github.com/users/Heldraug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Heldraug/subscriptions","organizations_url":"https://api.github.com/users/Heldraug/orgs","repos_url":"https://api.github.com/users/Heldraug/repos","events_url":"https://api.github.com/users/Heldraug/events{/privacy}","received_events_url":"https://api.github.com/users/Heldraug/received_events","type":"User","site_admin":false},"repo":{"id":38514311,"name":"GemMining","full_name":"Heldraug/GemMining","owner":{"login":"Heldraug","id":1566813,"avatar_url":"https://avatars.githubusercontent.com/u/1566813?v=3","gravatar_id":"","url":"https://api.github.com/users/Heldraug","html_url":"https://github.com/Heldraug","followers_url":"https://api.github.com/users/Heldraug/followers","following_url":"https://api.github.com/users/Heldraug/following{/other_user}","gists_url":"https://api.github.com/users/Heldraug/gists{/gist_id}","starred_url":"https://api.github.com/users/Heldraug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Heldraug/subscriptions","organizations_url":"https://api.github.com/users/Heldraug/orgs","repos_url":"https://api.github.com/users/Heldraug/repos","events_url":"https://api.github.com/users/Heldraug/events{/privacy}","received_events_url":"https://api.github.com/users/Heldraug/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Heldraug/GemMining","description":"Gemfile static analysis tool.","fork":false,"url":"https://api.github.com/repos/Heldraug/GemMining","forks_url":"https://api.github.com/repos/Heldraug/GemMining/forks","keys_url":"https://api.github.com/repos/Heldraug/GemMining/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Heldraug/GemMining/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Heldraug/GemMining/teams","hooks_url":"https://api.github.com/repos/Heldraug/GemMining/hooks","issue_events_url":"https://api.github.com/repos/Heldraug/GemMining/issues/events{/number}","events_url":"https://api.github.com/repos/Heldraug/GemMining/events","assignees_url":"https://api.github.com/repos/Heldraug/GemMining/assignees{/user}","branches_url":"https://api.github.com/repos/Heldraug/GemMining/branches{/branch}","tags_url":"https://api.github.com/repos/Heldraug/GemMining/tags","blobs_url":"https://api.github.com/repos/Heldraug/GemMining/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Heldraug/GemMining/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Heldraug/GemMining/git/refs{/sha}","trees_url":"https://api.github.com/repos/Heldraug/GemMining/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Heldraug/GemMining/statuses/{sha}","languages_url":"https://api.github.com/repos/Heldraug/GemMining/languages","stargazers_url":"https://api.github.com/repos/Heldraug/GemMining/stargazers","contributors_url":"https://api.github.com/repos/Heldraug/GemMining/contributors","subscribers_url":"https://api.github.com/repos/Heldraug/GemMining/subscribers","subscription_url":"https://api.github.com/repos/Heldraug/GemMining/subscription","commits_url":"https://api.github.com/repos/Heldraug/GemMining/commits{/sha}","git_commits_url":"https://api.github.com/repos/Heldraug/GemMining/git/commits{/sha}","comments_url":"https://api.github.com/repos/Heldraug/GemMining/comments{/number}","issue_comment_url":"https://api.github.com/repos/Heldraug/GemMining/issues/comments{/number}","contents_url":"https://api.github.com/repos/Heldraug/GemMining/contents/{+path}","compare_url":"https://api.github.com/repos/Heldraug/GemMining/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Heldraug/GemMining/merges","archive_url":"https://api.github.com/repos/Heldraug/GemMining/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Heldraug/GemMining/downloads","issues_url":"https://api.github.com/repos/Heldraug/GemMining/issues{/number}","pulls_url":"https://api.github.com/repos/Heldraug/GemMining/pulls{/number}","milestones_url":"https://api.github.com/repos/Heldraug/GemMining/milestones{/number}","notifications_url":"https://api.github.com/repos/Heldraug/GemMining/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Heldraug/GemMining/labels{/name}","releases_url":"https://api.github.com/repos/Heldraug/GemMining/releases{/id}","created_at":"2015-07-03T23:28:16Z","updated_at":"2015-07-03T23:49:01Z","pushed_at":"2015-08-12T04:50:19Z","git_url":"git://github.com/Heldraug/GemMining.git","ssh_url":"git@github.com:Heldraug/GemMining.git","clone_url":"https://github.com/Heldraug/GemMining.git","svn_url":"https://github.com/Heldraug/GemMining","homepage":null,"size":216,"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/Heldraug/GemMining/pulls/2"},"html":{"href":"https://github.com/Heldraug/GemMining/pull/2"},"issue":{"href":"https://api.github.com/repos/Heldraug/GemMining/issues/2"},"comments":{"href":"https://api.github.com/repos/Heldraug/GemMining/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Heldraug/GemMining/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Heldraug/GemMining/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Heldraug/GemMining/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Heldraug/GemMining/statuses/d66e597e0c3be7f89836fbd63ca3e0f37769d823"}}}}