{"action":"created","issue":{"url":"https://api.github.com/repos/HustleInc/parse-mockdb/issues/28","repository_url":"https://api.github.com/repos/HustleInc/parse-mockdb","labels_url":"https://api.github.com/repos/HustleInc/parse-mockdb/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/HustleInc/parse-mockdb/issues/28/comments","events_url":"https://api.github.com/repos/HustleInc/parse-mockdb/issues/28/events","html_url":"https://github.com/HustleInc/parse-mockdb/pull/28","id":161273385,"number":28,"title":"Support user subclass before save","user":{"login":"acinader","id":700572,"avatar_url":"https://avatars.githubusercontent.com/u/700572?v=3","gravatar_id":"","url":"https://api.github.com/users/acinader","html_url":"https://github.com/acinader","followers_url":"https://api.github.com/users/acinader/followers","following_url":"https://api.github.com/users/acinader/following{/other_user}","gists_url":"https://api.github.com/users/acinader/gists{/gist_id}","starred_url":"https://api.github.com/users/acinader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acinader/subscriptions","organizations_url":"https://api.github.com/users/acinader/orgs","repos_url":"https://api.github.com/users/acinader/repos","events_url":"https://api.github.com/users/acinader/events{/privacy}","received_events_url":"https://api.github.com/users/acinader/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-20T19:22:29Z","updated_at":"2016-06-29T01:07:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HustleInc/parse-mockdb/pulls/28","html_url":"https://github.com/HustleInc/parse-mockdb/pull/28","diff_url":"https://github.com/HustleInc/parse-mockdb/pull/28.diff","patch_url":"https://github.com/HustleInc/parse-mockdb/pull/28.patch"},"body":"so this is my attempt at squashing #10 \r\n\r\ni had to do alot of merging, so I may have gotten it wrong.\r\n\r\nthere are few tests that are failing (see below).  I haven't looked into the failing test yet.\r\n\r\nI think that the \"right\" thing todo is to merge #12, then I can rebase this one against master and we can try to fix the failing tests??\r\n\r\n```\r\n  61 passing (10s)\r\n  5 failing\r\n\r\n  1) ParseMock successfully uses containsAll query:\r\n     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.\r\n  \r\n\r\n  2) ParseMock supports Parse.User subclasses when object has beforeSave hook registered rejects the save if there is a problem:\r\n     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.\r\n  \r\n\r\n  3) ParseMock supports Parse.User subclasses when object has beforeDelete hook registered rejects the delete if there is a problem:\r\n     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.\r\n  \r\n\r\n  4) ParseMock when object has beforeSave hook registered rejects the save if there is a problem:\r\n     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.\r\n  \r\n\r\n  5) ParseMock when object has beforeDelete hook registered rejects the delete if there is a problem:\r\n     Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.\r\n  \r\n\r\n\r\n\r\nnpm ERR! Test failed.  See above for more details.\r\n```"},"comment":{"url":"https://api.github.com/repos/HustleInc/parse-mockdb/issues/comments/229229109","html_url":"https://github.com/HustleInc/parse-mockdb/pull/28#issuecomment-229229109","issue_url":"https://api.github.com/repos/HustleInc/parse-mockdb/issues/28","id":229229109,"user":{"login":"acinader","id":700572,"avatar_url":"https://avatars.githubusercontent.com/u/700572?v=3","gravatar_id":"","url":"https://api.github.com/users/acinader","html_url":"https://github.com/acinader","followers_url":"https://api.github.com/users/acinader/followers","following_url":"https://api.github.com/users/acinader/following{/other_user}","gists_url":"https://api.github.com/users/acinader/gists{/gist_id}","starred_url":"https://api.github.com/users/acinader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acinader/subscriptions","organizations_url":"https://api.github.com/users/acinader/orgs","repos_url":"https://api.github.com/users/acinader/repos","events_url":"https://api.github.com/users/acinader/events{/privacy}","received_events_url":"https://api.github.com/users/acinader/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T01:07:37Z","updated_at":"2016-06-29T01:07:37Z","body":"@fatuhoku take a look.  I rebased your changes, and i took a look at what you did in handle_request, but when i factored it out, i found that it is exactly the same as what was there before?\r\n\r\nI fixed the unit tests, but I now need a unit test that fails, cause this really looks like a noop to me?  maybe something was fixed in between and when i rebased it, everything just worked??"}}
{"actor":{"display_login":"acinader"}}