{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/2","id":27197685,"html_url":"https://github.com/micnews/stream-cache-redis/pull/2","diff_url":"https://github.com/micnews/stream-cache-redis/pull/2.diff","patch_url":"https://github.com/micnews/stream-cache-redis/pull/2.patch","issue_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues/2","number":2,"state":"open","locked":false,"title":"Refactor tests","user":{"login":"juliangruber","id":10247,"avatar_url":"https://avatars.githubusercontent.com/u/10247?v=3","gravatar_id":"","url":"https://api.github.com/users/juliangruber","html_url":"https://github.com/juliangruber","followers_url":"https://api.github.com/users/juliangruber/followers","following_url":"https://api.github.com/users/juliangruber/following{/other_user}","gists_url":"https://api.github.com/users/juliangruber/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangruber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangruber/subscriptions","organizations_url":"https://api.github.com/users/juliangruber/orgs","repos_url":"https://api.github.com/users/juliangruber/repos","events_url":"https://api.github.com/users/juliangruber/events{/privacy}","received_events_url":"https://api.github.com/users/juliangruber/received_events","type":"User","site_admin":false},"body":"individual tests should rely on each other as little as possible. less side effects usually lead to more clarity.\r\non top, i made sure the redis mock doesn't call back in the same tick.","created_at":"2015-01-12T14:35:20Z","updated_at":"2015-01-12T14:35:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/2/commits","review_comments_url":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/2/comments","review_comment_url":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/comments/{number}","comments_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues/2/comments","statuses_url":"https://api.github.com/repos/micnews/stream-cache-redis/statuses/96e420bdb7b0b0c7cc4ea8e555ed1dd98c27a750","head":{"label":"micnews:refactor/tests","ref":"refactor/tests","sha":"96e420bdb7b0b0c7cc4ea8e555ed1dd98c27a750","user":{"login":"micnews","id":7944468,"avatar_url":"https://avatars.githubusercontent.com/u/7944468?v=3","gravatar_id":"","url":"https://api.github.com/users/micnews","html_url":"https://github.com/micnews","followers_url":"https://api.github.com/users/micnews/followers","following_url":"https://api.github.com/users/micnews/following{/other_user}","gists_url":"https://api.github.com/users/micnews/gists{/gist_id}","starred_url":"https://api.github.com/users/micnews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnews/subscriptions","organizations_url":"https://api.github.com/users/micnews/orgs","repos_url":"https://api.github.com/users/micnews/repos","events_url":"https://api.github.com/users/micnews/events{/privacy}","received_events_url":"https://api.github.com/users/micnews/received_events","type":"Organization","site_admin":false},"repo":{"id":29026140,"name":"stream-cache-redis","full_name":"micnews/stream-cache-redis","owner":{"login":"micnews","id":7944468,"avatar_url":"https://avatars.githubusercontent.com/u/7944468?v=3","gravatar_id":"","url":"https://api.github.com/users/micnews","html_url":"https://github.com/micnews","followers_url":"https://api.github.com/users/micnews/followers","following_url":"https://api.github.com/users/micnews/following{/other_user}","gists_url":"https://api.github.com/users/micnews/gists{/gist_id}","starred_url":"https://api.github.com/users/micnews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnews/subscriptions","organizations_url":"https://api.github.com/users/micnews/orgs","repos_url":"https://api.github.com/users/micnews/repos","events_url":"https://api.github.com/users/micnews/events{/privacy}","received_events_url":"https://api.github.com/users/micnews/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/micnews/stream-cache-redis","description":"Cache a stream in redis","fork":false,"url":"https://api.github.com/repos/micnews/stream-cache-redis","forks_url":"https://api.github.com/repos/micnews/stream-cache-redis/forks","keys_url":"https://api.github.com/repos/micnews/stream-cache-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micnews/stream-cache-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micnews/stream-cache-redis/teams","hooks_url":"https://api.github.com/repos/micnews/stream-cache-redis/hooks","issue_events_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues/events{/number}","events_url":"https://api.github.com/repos/micnews/stream-cache-redis/events","assignees_url":"https://api.github.com/repos/micnews/stream-cache-redis/assignees{/user}","branches_url":"https://api.github.com/repos/micnews/stream-cache-redis/branches{/branch}","tags_url":"https://api.github.com/repos/micnews/stream-cache-redis/tags","blobs_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micnews/stream-cache-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/micnews/stream-cache-redis/languages","stargazers_url":"https://api.github.com/repos/micnews/stream-cache-redis/stargazers","contributors_url":"https://api.github.com/repos/micnews/stream-cache-redis/contributors","subscribers_url":"https://api.github.com/repos/micnews/stream-cache-redis/subscribers","subscription_url":"https://api.github.com/repos/micnews/stream-cache-redis/subscription","commits_url":"https://api.github.com/repos/micnews/stream-cache-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/micnews/stream-cache-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues/comments/{number}","contents_url":"https://api.github.com/repos/micnews/stream-cache-redis/contents/{+path}","compare_url":"https://api.github.com/repos/micnews/stream-cache-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micnews/stream-cache-redis/merges","archive_url":"https://api.github.com/repos/micnews/stream-cache-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micnews/stream-cache-redis/downloads","issues_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues{/number}","pulls_url":"https://api.github.com/repos/micnews/stream-cache-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/micnews/stream-cache-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/micnews/stream-cache-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micnews/stream-cache-redis/labels{/name}","releases_url":"https://api.github.com/repos/micnews/stream-cache-redis/releases{/id}","created_at":"2015-01-09T17:00:02Z","updated_at":"2015-01-09T22:15:18Z","pushed_at":"2015-01-12T14:33:46Z","git_url":"git://github.com/micnews/stream-cache-redis.git","ssh_url":"git@github.com:micnews/stream-cache-redis.git","clone_url":"https://github.com/micnews/stream-cache-redis.git","svn_url":"https://github.com/micnews/stream-cache-redis","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"micnews:master","ref":"master","sha":"b16d6f5ba487655389c28ad731e8073ea0df5d08","user":{"login":"micnews","id":7944468,"avatar_url":"https://avatars.githubusercontent.com/u/7944468?v=3","gravatar_id":"","url":"https://api.github.com/users/micnews","html_url":"https://github.com/micnews","followers_url":"https://api.github.com/users/micnews/followers","following_url":"https://api.github.com/users/micnews/following{/other_user}","gists_url":"https://api.github.com/users/micnews/gists{/gist_id}","starred_url":"https://api.github.com/users/micnews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnews/subscriptions","organizations_url":"https://api.github.com/users/micnews/orgs","repos_url":"https://api.github.com/users/micnews/repos","events_url":"https://api.github.com/users/micnews/events{/privacy}","received_events_url":"https://api.github.com/users/micnews/received_events","type":"Organization","site_admin":false},"repo":{"id":29026140,"name":"stream-cache-redis","full_name":"micnews/stream-cache-redis","owner":{"login":"micnews","id":7944468,"avatar_url":"https://avatars.githubusercontent.com/u/7944468?v=3","gravatar_id":"","url":"https://api.github.com/users/micnews","html_url":"https://github.com/micnews","followers_url":"https://api.github.com/users/micnews/followers","following_url":"https://api.github.com/users/micnews/following{/other_user}","gists_url":"https://api.github.com/users/micnews/gists{/gist_id}","starred_url":"https://api.github.com/users/micnews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micnews/subscriptions","organizations_url":"https://api.github.com/users/micnews/orgs","repos_url":"https://api.github.com/users/micnews/repos","events_url":"https://api.github.com/users/micnews/events{/privacy}","received_events_url":"https://api.github.com/users/micnews/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/micnews/stream-cache-redis","description":"Cache a stream in redis","fork":false,"url":"https://api.github.com/repos/micnews/stream-cache-redis","forks_url":"https://api.github.com/repos/micnews/stream-cache-redis/forks","keys_url":"https://api.github.com/repos/micnews/stream-cache-redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/micnews/stream-cache-redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/micnews/stream-cache-redis/teams","hooks_url":"https://api.github.com/repos/micnews/stream-cache-redis/hooks","issue_events_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues/events{/number}","events_url":"https://api.github.com/repos/micnews/stream-cache-redis/events","assignees_url":"https://api.github.com/repos/micnews/stream-cache-redis/assignees{/user}","branches_url":"https://api.github.com/repos/micnews/stream-cache-redis/branches{/branch}","tags_url":"https://api.github.com/repos/micnews/stream-cache-redis/tags","blobs_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/micnews/stream-cache-redis/statuses/{sha}","languages_url":"https://api.github.com/repos/micnews/stream-cache-redis/languages","stargazers_url":"https://api.github.com/repos/micnews/stream-cache-redis/stargazers","contributors_url":"https://api.github.com/repos/micnews/stream-cache-redis/contributors","subscribers_url":"https://api.github.com/repos/micnews/stream-cache-redis/subscribers","subscription_url":"https://api.github.com/repos/micnews/stream-cache-redis/subscription","commits_url":"https://api.github.com/repos/micnews/stream-cache-redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/micnews/stream-cache-redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/micnews/stream-cache-redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues/comments/{number}","contents_url":"https://api.github.com/repos/micnews/stream-cache-redis/contents/{+path}","compare_url":"https://api.github.com/repos/micnews/stream-cache-redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/micnews/stream-cache-redis/merges","archive_url":"https://api.github.com/repos/micnews/stream-cache-redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/micnews/stream-cache-redis/downloads","issues_url":"https://api.github.com/repos/micnews/stream-cache-redis/issues{/number}","pulls_url":"https://api.github.com/repos/micnews/stream-cache-redis/pulls{/number}","milestones_url":"https://api.github.com/repos/micnews/stream-cache-redis/milestones{/number}","notifications_url":"https://api.github.com/repos/micnews/stream-cache-redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/micnews/stream-cache-redis/labels{/name}","releases_url":"https://api.github.com/repos/micnews/stream-cache-redis/releases{/id}","created_at":"2015-01-09T17:00:02Z","updated_at":"2015-01-09T22:15:18Z","pushed_at":"2015-01-12T14:33:46Z","git_url":"git://github.com/micnews/stream-cache-redis.git","ssh_url":"git@github.com:micnews/stream-cache-redis.git","clone_url":"https://github.com/micnews/stream-cache-redis.git","svn_url":"https://github.com/micnews/stream-cache-redis","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/2"},"html":{"href":"https://github.com/micnews/stream-cache-redis/pull/2"},"issue":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/issues/2"},"comments":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/micnews/stream-cache-redis/statuses/96e420bdb7b0b0c7cc4ea8e555ed1dd98c27a750"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":60,"deletions":32,"changed_files":1}}