{"action":"created","comment":{"url":"https://api.github.com/repos/tracersoft/skopos/pulls/comments/27618539","id":27618539,"diff_hunk":"@@ -2,6 +2,23 @@\n \n # http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration\n RSpec.configure do |config|\n+  config.include(Module.new do\n+    def stub_api_for(klass)\n+      klass.use_api (api = Her::API.new)\n+\n+      api.setup url: \"http://api.example.com\" do |c|\n+        c.use Her::Middleware::FirstLevelParseJSON\n+        c.adapter(:test) { |s| yield(s) }\n+      end\n+    end\n+  end)\n+\n+  config.before do\n+    stub_request(:get, \"https://www.pivotaltracker.com/services/v5/projects\").\n+         with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Faraday v0.9.1', 'X-Trackertoken'=>'12345'}).\n+         to_return(:status => 200, :body => \"\", :headers => {})\n+  end","path":"spec/spec_helper.rb","position":19,"original_position":19,"commit_id":"3d09ac9a1ce2338bb43b11d750aff471c96ba5f5","original_commit_id":"3d09ac9a1ce2338bb43b11d750aff471c96ba5f5","user":{"login":"yoshioteruia","id":383619,"avatar_url":"https://avatars.githubusercontent.com/u/383619?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshioteruia","html_url":"https://github.com/yoshioteruia","followers_url":"https://api.github.com/users/yoshioteruia/followers","following_url":"https://api.github.com/users/yoshioteruia/following{/other_user}","gists_url":"https://api.github.com/users/yoshioteruia/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshioteruia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshioteruia/subscriptions","organizations_url":"https://api.github.com/users/yoshioteruia/orgs","repos_url":"https://api.github.com/users/yoshioteruia/repos","events_url":"https://api.github.com/users/yoshioteruia/events{/privacy}","received_events_url":"https://api.github.com/users/yoshioteruia/received_events","type":"User","site_admin":false},"body":"Acho que isso não precisa para todos os testes.","created_at":"2015-04-01T22:30:37Z","updated_at":"2015-04-01T22:30:37Z","html_url":"https://github.com/tracersoft/skopos/pull/5#discussion_r27618539","pull_request_url":"https://api.github.com/repos/tracersoft/skopos/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/tracersoft/skopos/pulls/comments/27618539"},"html":{"href":"https://github.com/tracersoft/skopos/pull/5#discussion_r27618539"},"pull_request":{"href":"https://api.github.com/repos/tracersoft/skopos/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/tracersoft/skopos/pulls/5","id":31453464,"html_url":"https://github.com/tracersoft/skopos/pull/5","diff_url":"https://github.com/tracersoft/skopos/pull/5.diff","patch_url":"https://github.com/tracersoft/skopos/pull/5.patch","issue_url":"https://api.github.com/repos/tracersoft/skopos/issues/5","number":5,"state":"open","locked":false,"title":"Feature/list projects","user":{"login":"futrica","id":1834618,"avatar_url":"https://avatars.githubusercontent.com/u/1834618?v=3","gravatar_id":"","url":"https://api.github.com/users/futrica","html_url":"https://github.com/futrica","followers_url":"https://api.github.com/users/futrica/followers","following_url":"https://api.github.com/users/futrica/following{/other_user}","gists_url":"https://api.github.com/users/futrica/gists{/gist_id}","starred_url":"https://api.github.com/users/futrica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/futrica/subscriptions","organizations_url":"https://api.github.com/users/futrica/orgs","repos_url":"https://api.github.com/users/futrica/repos","events_url":"https://api.github.com/users/futrica/events{/privacy}","received_events_url":"https://api.github.com/users/futrica/received_events","type":"User","site_admin":false},"body":":8ball: ","created_at":"2015-03-18T17:41:33Z","updated_at":"2015-04-01T22:30:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8490bc7d6cafac028f849064f759132c6197bc02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tracersoft/skopos/pulls/5/commits","review_comments_url":"https://api.github.com/repos/tracersoft/skopos/pulls/5/comments","review_comment_url":"https://api.github.com/repos/tracersoft/skopos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tracersoft/skopos/issues/5/comments","statuses_url":"https://api.github.com/repos/tracersoft/skopos/statuses/3d09ac9a1ce2338bb43b11d750aff471c96ba5f5","head":{"label":"tracersoft:feature/list_projects","ref":"feature/list_projects","sha":"3d09ac9a1ce2338bb43b11d750aff471c96ba5f5","user":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"repo":{"id":31429423,"name":"skopos","full_name":"tracersoft/skopos","owner":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tracersoft/skopos","description":null,"fork":false,"url":"https://api.github.com/repos/tracersoft/skopos","forks_url":"https://api.github.com/repos/tracersoft/skopos/forks","keys_url":"https://api.github.com/repos/tracersoft/skopos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracersoft/skopos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracersoft/skopos/teams","hooks_url":"https://api.github.com/repos/tracersoft/skopos/hooks","issue_events_url":"https://api.github.com/repos/tracersoft/skopos/issues/events{/number}","events_url":"https://api.github.com/repos/tracersoft/skopos/events","assignees_url":"https://api.github.com/repos/tracersoft/skopos/assignees{/user}","branches_url":"https://api.github.com/repos/tracersoft/skopos/branches{/branch}","tags_url":"https://api.github.com/repos/tracersoft/skopos/tags","blobs_url":"https://api.github.com/repos/tracersoft/skopos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracersoft/skopos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracersoft/skopos/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracersoft/skopos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracersoft/skopos/statuses/{sha}","languages_url":"https://api.github.com/repos/tracersoft/skopos/languages","stargazers_url":"https://api.github.com/repos/tracersoft/skopos/stargazers","contributors_url":"https://api.github.com/repos/tracersoft/skopos/contributors","subscribers_url":"https://api.github.com/repos/tracersoft/skopos/subscribers","subscription_url":"https://api.github.com/repos/tracersoft/skopos/subscription","commits_url":"https://api.github.com/repos/tracersoft/skopos/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracersoft/skopos/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracersoft/skopos/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracersoft/skopos/issues/comments{/number}","contents_url":"https://api.github.com/repos/tracersoft/skopos/contents/{+path}","compare_url":"https://api.github.com/repos/tracersoft/skopos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracersoft/skopos/merges","archive_url":"https://api.github.com/repos/tracersoft/skopos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracersoft/skopos/downloads","issues_url":"https://api.github.com/repos/tracersoft/skopos/issues{/number}","pulls_url":"https://api.github.com/repos/tracersoft/skopos/pulls{/number}","milestones_url":"https://api.github.com/repos/tracersoft/skopos/milestones{/number}","notifications_url":"https://api.github.com/repos/tracersoft/skopos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracersoft/skopos/labels{/name}","releases_url":"https://api.github.com/repos/tracersoft/skopos/releases{/id}","created_at":"2015-02-27T16:56:23Z","updated_at":"2015-03-23T14:26:58Z","pushed_at":"2015-04-01T21:32:52Z","git_url":"git://github.com/tracersoft/skopos.git","ssh_url":"git@github.com:tracersoft/skopos.git","clone_url":"https://github.com/tracersoft/skopos.git","svn_url":"https://github.com/tracersoft/skopos","homepage":null,"size":396,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"tracersoft:master","ref":"master","sha":"790170b2450854641553f4b8691e7cb0f5fd73f1","user":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"repo":{"id":31429423,"name":"skopos","full_name":"tracersoft/skopos","owner":{"login":"tracersoft","id":10050560,"avatar_url":"https://avatars.githubusercontent.com/u/10050560?v=3","gravatar_id":"","url":"https://api.github.com/users/tracersoft","html_url":"https://github.com/tracersoft","followers_url":"https://api.github.com/users/tracersoft/followers","following_url":"https://api.github.com/users/tracersoft/following{/other_user}","gists_url":"https://api.github.com/users/tracersoft/gists{/gist_id}","starred_url":"https://api.github.com/users/tracersoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracersoft/subscriptions","organizations_url":"https://api.github.com/users/tracersoft/orgs","repos_url":"https://api.github.com/users/tracersoft/repos","events_url":"https://api.github.com/users/tracersoft/events{/privacy}","received_events_url":"https://api.github.com/users/tracersoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tracersoft/skopos","description":null,"fork":false,"url":"https://api.github.com/repos/tracersoft/skopos","forks_url":"https://api.github.com/repos/tracersoft/skopos/forks","keys_url":"https://api.github.com/repos/tracersoft/skopos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tracersoft/skopos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tracersoft/skopos/teams","hooks_url":"https://api.github.com/repos/tracersoft/skopos/hooks","issue_events_url":"https://api.github.com/repos/tracersoft/skopos/issues/events{/number}","events_url":"https://api.github.com/repos/tracersoft/skopos/events","assignees_url":"https://api.github.com/repos/tracersoft/skopos/assignees{/user}","branches_url":"https://api.github.com/repos/tracersoft/skopos/branches{/branch}","tags_url":"https://api.github.com/repos/tracersoft/skopos/tags","blobs_url":"https://api.github.com/repos/tracersoft/skopos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tracersoft/skopos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tracersoft/skopos/git/refs{/sha}","trees_url":"https://api.github.com/repos/tracersoft/skopos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tracersoft/skopos/statuses/{sha}","languages_url":"https://api.github.com/repos/tracersoft/skopos/languages","stargazers_url":"https://api.github.com/repos/tracersoft/skopos/stargazers","contributors_url":"https://api.github.com/repos/tracersoft/skopos/contributors","subscribers_url":"https://api.github.com/repos/tracersoft/skopos/subscribers","subscription_url":"https://api.github.com/repos/tracersoft/skopos/subscription","commits_url":"https://api.github.com/repos/tracersoft/skopos/commits{/sha}","git_commits_url":"https://api.github.com/repos/tracersoft/skopos/git/commits{/sha}","comments_url":"https://api.github.com/repos/tracersoft/skopos/comments{/number}","issue_comment_url":"https://api.github.com/repos/tracersoft/skopos/issues/comments{/number}","contents_url":"https://api.github.com/repos/tracersoft/skopos/contents/{+path}","compare_url":"https://api.github.com/repos/tracersoft/skopos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tracersoft/skopos/merges","archive_url":"https://api.github.com/repos/tracersoft/skopos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tracersoft/skopos/downloads","issues_url":"https://api.github.com/repos/tracersoft/skopos/issues{/number}","pulls_url":"https://api.github.com/repos/tracersoft/skopos/pulls{/number}","milestones_url":"https://api.github.com/repos/tracersoft/skopos/milestones{/number}","notifications_url":"https://api.github.com/repos/tracersoft/skopos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tracersoft/skopos/labels{/name}","releases_url":"https://api.github.com/repos/tracersoft/skopos/releases{/id}","created_at":"2015-02-27T16:56:23Z","updated_at":"2015-03-23T14:26:58Z","pushed_at":"2015-04-01T21:32:52Z","git_url":"git://github.com/tracersoft/skopos.git","ssh_url":"git@github.com:tracersoft/skopos.git","clone_url":"https://github.com/tracersoft/skopos.git","svn_url":"https://github.com/tracersoft/skopos","homepage":null,"size":396,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tracersoft/skopos/pulls/5"},"html":{"href":"https://github.com/tracersoft/skopos/pull/5"},"issue":{"href":"https://api.github.com/repos/tracersoft/skopos/issues/5"},"comments":{"href":"https://api.github.com/repos/tracersoft/skopos/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/tracersoft/skopos/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/tracersoft/skopos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tracersoft/skopos/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/tracersoft/skopos/statuses/3d09ac9a1ce2338bb43b11d750aff471c96ba5f5"}}}}