{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/negue/habitrpg/pulls/1","id":36797206,"html_url":"https://github.com/negue/habitrpg/pull/1","diff_url":"https://github.com/negue/habitrpg/pull/1.diff","patch_url":"https://github.com/negue/habitrpg/pull/1.patch","issue_url":"https://api.github.com/repos/negue/habitrpg/issues/1","number":1,"state":"open","locked":false,"title":"Add test for push notifications","user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars.githubusercontent.com/u/2916945?v=3","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"body":"I had to mock so many things just to get to the quest started point that it really was not worth it to try to test the scenarios where a user had rejected a quest or left it pending when it started. \r\n\r\nI want to do a major refactor of the groups controller, it's kind of a mess right now. ","created_at":"2015-06-03T04:15:44Z","updated_at":"2015-06-03T04:15:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f39ffae96f3f1d4cfc0d7e898e709b170d64bce9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/negue/habitrpg/pulls/1/commits","review_comments_url":"https://api.github.com/repos/negue/habitrpg/pulls/1/comments","review_comment_url":"https://api.github.com/repos/negue/habitrpg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/negue/habitrpg/issues/1/comments","statuses_url":"https://api.github.com/repos/negue/habitrpg/statuses/64a61a26ca0f6c624e247fae4df2a4fcd24b2856","head":{"label":"HabitRPG:negue-fixQuestNotify","ref":"negue-fixQuestNotify","sha":"64a61a26ca0f6c624e247fae4df2a4fcd24b2856","user":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"repo":{"id":4578898,"name":"habitrpg","full_name":"HabitRPG/habitrpg","owner":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HabitRPG/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitrpg","forks_url":"https://api.github.com/repos/HabitRPG/habitrpg/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitrpg/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitrpg/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitrpg/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitrpg/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitrpg/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitrpg/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitrpg/releases{/id}","created_at":"2012-06-06T22:49:48Z","updated_at":"2015-06-02T23:23:09Z","pushed_at":"2015-06-03T03:55:51Z","git_url":"git://github.com/HabitRPG/habitrpg.git","ssh_url":"git@github.com:HabitRPG/habitrpg.git","clone_url":"https://github.com/HabitRPG/habitrpg.git","svn_url":"https://github.com/HabitRPG/habitrpg","homepage":"habitrpg.com","size":217101,"stargazers_count":2759,"watchers_count":2759,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1079,"mirror_url":null,"open_issues_count":630,"forks":1079,"open_issues":630,"watchers":2759,"default_branch":"develop"}},"base":{"label":"negue:fixQuestNotify","ref":"fixQuestNotify","sha":"5612b4be6be06cc6b2cedd5124f2a0abafa45d91","user":{"login":"negue","id":842273,"avatar_url":"https://avatars.githubusercontent.com/u/842273?v=3","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"repo":{"id":20697159,"name":"habitrpg","full_name":"negue/habitrpg","owner":{"login":"negue","id":842273,"avatar_url":"https://avatars.githubusercontent.com/u/842273?v=3","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/negue/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":true,"url":"https://api.github.com/repos/negue/habitrpg","forks_url":"https://api.github.com/repos/negue/habitrpg/forks","keys_url":"https://api.github.com/repos/negue/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/negue/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/negue/habitrpg/teams","hooks_url":"https://api.github.com/repos/negue/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/negue/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/negue/habitrpg/events","assignees_url":"https://api.github.com/repos/negue/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/negue/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/negue/habitrpg/tags","blobs_url":"https://api.github.com/repos/negue/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/negue/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/negue/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/negue/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/negue/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/negue/habitrpg/languages","stargazers_url":"https://api.github.com/repos/negue/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/negue/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/negue/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/negue/habitrpg/subscription","commits_url":"https://api.github.com/repos/negue/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/negue/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/negue/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/negue/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/negue/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/negue/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/negue/habitrpg/merges","archive_url":"https://api.github.com/repos/negue/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/negue/habitrpg/downloads","issues_url":"https://api.github.com/repos/negue/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/negue/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/negue/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/negue/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/negue/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/negue/habitrpg/releases{/id}","created_at":"2014-06-10T18:41:54Z","updated_at":"2015-04-25T16:36:53Z","pushed_at":"2015-06-03T04:15:45Z","git_url":"git://github.com/negue/habitrpg.git","ssh_url":"git@github.com:negue/habitrpg.git","clone_url":"https://github.com/negue/habitrpg.git","svn_url":"https://github.com/negue/habitrpg","homepage":"habitrpg.com","size":189169,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/negue/habitrpg/pulls/1"},"html":{"href":"https://github.com/negue/habitrpg/pull/1"},"issue":{"href":"https://api.github.com/repos/negue/habitrpg/issues/1"},"comments":{"href":"https://api.github.com/repos/negue/habitrpg/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/negue/habitrpg/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/negue/habitrpg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/negue/habitrpg/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/negue/habitrpg/statuses/64a61a26ca0f6c624e247fae4df2a4fcd24b2856"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":49,"deletions":1,"changed_files":1}}