{"action":"closed","number":23,"pull_request":{"url":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/23","id":39396581,"html_url":"https://github.com/Baby-com-br/fake-braspag/pull/23","diff_url":"https://github.com/Baby-com-br/fake-braspag/pull/23.diff","patch_url":"https://github.com/Baby-com-br/fake-braspag/pull/23.patch","issue_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/23","number":23,"state":"closed","locked":false,"title":"Mocking redis calls","user":{"login":"no-donut-for-you","id":16459,"avatar_url":"https://avatars.githubusercontent.com/u/16459?v=3","gravatar_id":"","url":"https://api.github.com/users/no-donut-for-you","html_url":"https://github.com/no-donut-for-you","followers_url":"https://api.github.com/users/no-donut-for-you/followers","following_url":"https://api.github.com/users/no-donut-for-you/following{/other_user}","gists_url":"https://api.github.com/users/no-donut-for-you/gists{/gist_id}","starred_url":"https://api.github.com/users/no-donut-for-you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no-donut-for-you/subscriptions","organizations_url":"https://api.github.com/users/no-donut-for-you/orgs","repos_url":"https://api.github.com/users/no-donut-for-you/repos","events_url":"https://api.github.com/users/no-donut-for-you/events{/privacy}","received_events_url":"https://api.github.com/users/no-donut-for-you/received_events","type":"User","site_admin":false},"body":"@britto warned [here](https://github.com/Baby-com-br/fake-braspag/pull/19#discussion-diff-34040543R18),  calling `ResponseToggler.enable` or `ResponseToggler.disable` on specs, it will actually write into redis. This PR was created to prevent leak between specs. We are now mocking that.\r\n","created_at":"2015-07-07T17:40:27Z","updated_at":"2015-07-07T19:23:36Z","closed_at":"2015-07-07T19:23:36Z","merged_at":"2015-07-07T19:23:36Z","merge_commit_sha":"51b03c1a2eceaa561c9109902a4a42229e66c39e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/23/commits","review_comments_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/23/comments","review_comment_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/23/comments","statuses_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/statuses/8b71168ef76f6900a921d728306f0d490430ff7b","head":{"label":"Baby-com-br:js-mocking-redis-calls","ref":"js-mocking-redis-calls","sha":"8b71168ef76f6900a921d728306f0d490430ff7b","user":{"login":"Baby-com-br","id":1762272,"avatar_url":"https://avatars.githubusercontent.com/u/1762272?v=3","gravatar_id":"","url":"https://api.github.com/users/Baby-com-br","html_url":"https://github.com/Baby-com-br","followers_url":"https://api.github.com/users/Baby-com-br/followers","following_url":"https://api.github.com/users/Baby-com-br/following{/other_user}","gists_url":"https://api.github.com/users/Baby-com-br/gists{/gist_id}","starred_url":"https://api.github.com/users/Baby-com-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baby-com-br/subscriptions","organizations_url":"https://api.github.com/users/Baby-com-br/orgs","repos_url":"https://api.github.com/users/Baby-com-br/repos","events_url":"https://api.github.com/users/Baby-com-br/events{/privacy}","received_events_url":"https://api.github.com/users/Baby-com-br/received_events","type":"Organization","site_admin":false},"repo":{"id":11319630,"name":"fake-braspag","full_name":"Baby-com-br/fake-braspag","owner":{"login":"Baby-com-br","id":1762272,"avatar_url":"https://avatars.githubusercontent.com/u/1762272?v=3","gravatar_id":"","url":"https://api.github.com/users/Baby-com-br","html_url":"https://github.com/Baby-com-br","followers_url":"https://api.github.com/users/Baby-com-br/followers","following_url":"https://api.github.com/users/Baby-com-br/following{/other_user}","gists_url":"https://api.github.com/users/Baby-com-br/gists{/gist_id}","starred_url":"https://api.github.com/users/Baby-com-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baby-com-br/subscriptions","organizations_url":"https://api.github.com/users/Baby-com-br/orgs","repos_url":"https://api.github.com/users/Baby-com-br/repos","events_url":"https://api.github.com/users/Baby-com-br/events{/privacy}","received_events_url":"https://api.github.com/users/Baby-com-br/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Baby-com-br/fake-braspag","description":"","fork":true,"url":"https://api.github.com/repos/Baby-com-br/fake-braspag","forks_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/forks","keys_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/teams","hooks_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/hooks","issue_events_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/events{/number}","events_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/events","assignees_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/assignees{/user}","branches_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/branches{/branch}","tags_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/tags","blobs_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/refs{/sha}","trees_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/statuses/{sha}","languages_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/languages","stargazers_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/stargazers","contributors_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/contributors","subscribers_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/subscribers","subscription_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/subscription","commits_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/commits{/sha}","git_commits_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/commits{/sha}","comments_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/comments{/number}","issue_comment_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/comments{/number}","contents_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/contents/{+path}","compare_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/merges","archive_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/downloads","issues_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues{/number}","pulls_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls{/number}","milestones_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/milestones{/number}","notifications_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/labels{/name}","releases_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/releases{/id}","created_at":"2013-07-10T18:01:20Z","updated_at":"2015-07-06T14:20:19Z","pushed_at":"2015-07-07T19:23:36Z","git_url":"git://github.com/Baby-com-br/fake-braspag.git","ssh_url":"git@github.com:Baby-com-br/fake-braspag.git","clone_url":"https://github.com/Baby-com-br/fake-braspag.git","svn_url":"https://github.com/Baby-com-br/fake-braspag","homepage":"","size":440,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Baby-com-br:master","ref":"master","sha":"3a55ac0f604705d9168d1850258dd35d7f7f2e23","user":{"login":"Baby-com-br","id":1762272,"avatar_url":"https://avatars.githubusercontent.com/u/1762272?v=3","gravatar_id":"","url":"https://api.github.com/users/Baby-com-br","html_url":"https://github.com/Baby-com-br","followers_url":"https://api.github.com/users/Baby-com-br/followers","following_url":"https://api.github.com/users/Baby-com-br/following{/other_user}","gists_url":"https://api.github.com/users/Baby-com-br/gists{/gist_id}","starred_url":"https://api.github.com/users/Baby-com-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baby-com-br/subscriptions","organizations_url":"https://api.github.com/users/Baby-com-br/orgs","repos_url":"https://api.github.com/users/Baby-com-br/repos","events_url":"https://api.github.com/users/Baby-com-br/events{/privacy}","received_events_url":"https://api.github.com/users/Baby-com-br/received_events","type":"Organization","site_admin":false},"repo":{"id":11319630,"name":"fake-braspag","full_name":"Baby-com-br/fake-braspag","owner":{"login":"Baby-com-br","id":1762272,"avatar_url":"https://avatars.githubusercontent.com/u/1762272?v=3","gravatar_id":"","url":"https://api.github.com/users/Baby-com-br","html_url":"https://github.com/Baby-com-br","followers_url":"https://api.github.com/users/Baby-com-br/followers","following_url":"https://api.github.com/users/Baby-com-br/following{/other_user}","gists_url":"https://api.github.com/users/Baby-com-br/gists{/gist_id}","starred_url":"https://api.github.com/users/Baby-com-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baby-com-br/subscriptions","organizations_url":"https://api.github.com/users/Baby-com-br/orgs","repos_url":"https://api.github.com/users/Baby-com-br/repos","events_url":"https://api.github.com/users/Baby-com-br/events{/privacy}","received_events_url":"https://api.github.com/users/Baby-com-br/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Baby-com-br/fake-braspag","description":"","fork":true,"url":"https://api.github.com/repos/Baby-com-br/fake-braspag","forks_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/forks","keys_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/teams","hooks_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/hooks","issue_events_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/events{/number}","events_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/events","assignees_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/assignees{/user}","branches_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/branches{/branch}","tags_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/tags","blobs_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/refs{/sha}","trees_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/statuses/{sha}","languages_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/languages","stargazers_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/stargazers","contributors_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/contributors","subscribers_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/subscribers","subscription_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/subscription","commits_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/commits{/sha}","git_commits_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/git/commits{/sha}","comments_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/comments{/number}","issue_comment_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/comments{/number}","contents_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/contents/{+path}","compare_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/merges","archive_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/downloads","issues_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues{/number}","pulls_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls{/number}","milestones_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/milestones{/number}","notifications_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/labels{/name}","releases_url":"https://api.github.com/repos/Baby-com-br/fake-braspag/releases{/id}","created_at":"2013-07-10T18:01:20Z","updated_at":"2015-07-06T14:20:19Z","pushed_at":"2015-07-07T19:23:36Z","git_url":"git://github.com/Baby-com-br/fake-braspag.git","ssh_url":"git@github.com:Baby-com-br/fake-braspag.git","clone_url":"https://github.com/Baby-com-br/fake-braspag.git","svn_url":"https://github.com/Baby-com-br/fake-braspag","homepage":"","size":440,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/23"},"html":{"href":"https://github.com/Baby-com-br/fake-braspag/pull/23"},"issue":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/23"},"comments":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/Baby-com-br/fake-braspag/statuses/8b71168ef76f6900a921d728306f0d490430ff7b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"no-donut-for-you","id":16459,"avatar_url":"https://avatars.githubusercontent.com/u/16459?v=3","gravatar_id":"","url":"https://api.github.com/users/no-donut-for-you","html_url":"https://github.com/no-donut-for-you","followers_url":"https://api.github.com/users/no-donut-for-you/followers","following_url":"https://api.github.com/users/no-donut-for-you/following{/other_user}","gists_url":"https://api.github.com/users/no-donut-for-you/gists{/gist_id}","starred_url":"https://api.github.com/users/no-donut-for-you/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no-donut-for-you/subscriptions","organizations_url":"https://api.github.com/users/no-donut-for-you/orgs","repos_url":"https://api.github.com/users/no-donut-for-you/repos","events_url":"https://api.github.com/users/no-donut-for-you/events{/privacy}","received_events_url":"https://api.github.com/users/no-donut-for-you/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":5,"additions":29,"deletions":53,"changed_files":4}}