{"action":"created","issue":{"url":"https://api.github.com/repos/chingu-x/chingu-connect/issues/31","repository_url":"https://api.github.com/repos/chingu-x/chingu-connect","labels_url":"https://api.github.com/repos/chingu-x/chingu-connect/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/chingu-x/chingu-connect/issues/31/comments","events_url":"https://api.github.com/repos/chingu-x/chingu-connect/issues/31/events","html_url":"https://github.com/chingu-x/chingu-connect/issues/31","id":320483768,"number":31,"title":"User Type resolver tests","user":{"login":"the-vampiire","id":25523682,"avatar_url":"https://avatars3.githubusercontent.com/u/25523682?v=4","gravatar_id":"","url":"https://api.github.com/users/the-vampiire","html_url":"https://github.com/the-vampiire","followers_url":"https://api.github.com/users/the-vampiire/followers","following_url":"https://api.github.com/users/the-vampiire/following{/other_user}","gists_url":"https://api.github.com/users/the-vampiire/gists{/gist_id}","starred_url":"https://api.github.com/users/the-vampiire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-vampiire/subscriptions","organizations_url":"https://api.github.com/users/the-vampiire/orgs","repos_url":"https://api.github.com/users/the-vampiire/repos","events_url":"https://api.github.com/users/the-vampiire/events{/privacy}","received_events_url":"https://api.github.com/users/the-vampiire/received_events","type":"User","site_admin":false},"labels":[{"id":918755695,"url":"https://api.github.com/repos/chingu-x/chingu-connect/labels/next","name":"next","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"Bigghead","id":19599037,"avatar_url":"https://avatars0.githubusercontent.com/u/19599037?v=4","gravatar_id":"","url":"https://api.github.com/users/Bigghead","html_url":"https://github.com/Bigghead","followers_url":"https://api.github.com/users/Bigghead/followers","following_url":"https://api.github.com/users/Bigghead/following{/other_user}","gists_url":"https://api.github.com/users/Bigghead/gists{/gist_id}","starred_url":"https://api.github.com/users/Bigghead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bigghead/subscriptions","organizations_url":"https://api.github.com/users/Bigghead/orgs","repos_url":"https://api.github.com/users/Bigghead/repos","events_url":"https://api.github.com/users/Bigghead/events{/privacy}","received_events_url":"https://api.github.com/users/Bigghead/received_events","type":"User","site_admin":false},"assignees":[{"login":"Bigghead","id":19599037,"avatar_url":"https://avatars0.githubusercontent.com/u/19599037?v=4","gravatar_id":"","url":"https://api.github.com/users/Bigghead","html_url":"https://github.com/Bigghead","followers_url":"https://api.github.com/users/Bigghead/followers","following_url":"https://api.github.com/users/Bigghead/following{/other_user}","gists_url":"https://api.github.com/users/Bigghead/gists{/gist_id}","starred_url":"https://api.github.com/users/Bigghead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bigghead/subscriptions","organizations_url":"https://api.github.com/users/Bigghead/orgs","repos_url":"https://api.github.com/users/Bigghead/repos","events_url":"https://api.github.com/users/Bigghead/events{/privacy}","received_events_url":"https://api.github.com/users/Bigghead/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-05T06:17:52Z","updated_at":"2018-05-09T23:00:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":null},"comment":{"url":"https://api.github.com/repos/chingu-x/chingu-connect/issues/comments/387900248","html_url":"https://github.com/chingu-x/chingu-connect/issues/31#issuecomment-387900248","issue_url":"https://api.github.com/repos/chingu-x/chingu-connect/issues/31","id":387900248,"user":{"login":"Bigghead","id":19599037,"avatar_url":"https://avatars0.githubusercontent.com/u/19599037?v=4","gravatar_id":"","url":"https://api.github.com/users/Bigghead","html_url":"https://github.com/Bigghead","followers_url":"https://api.github.com/users/Bigghead/followers","following_url":"https://api.github.com/users/Bigghead/following{/other_user}","gists_url":"https://api.github.com/users/Bigghead/gists{/gist_id}","starred_url":"https://api.github.com/users/Bigghead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bigghead/subscriptions","organizations_url":"https://api.github.com/users/Bigghead/orgs","repos_url":"https://api.github.com/users/Bigghead/repos","events_url":"https://api.github.com/users/Bigghead/events{/privacy}","received_events_url":"https://api.github.com/users/Bigghead/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T23:00:15Z","updated_at":"2018-05-09T23:00:15Z","author_association":"COLLABORATOR","body":"user   : returns single user\n- returns an instance of the User model\n- it has all fields that the mock user has\n- returned User id === mock user id\n\nusers : returns all users\n- returns an array\n- all elements in array are of the User model instances\n- returned users' ids === mock users' ids\n\n\ncreated : returns user's created connections\n- called with `owner` instance\n- returns an array\n- returns length of 1 ( only mocking 1 connection )\n- array elements are of the Connection model\n- element's id ==== mock connection id\n\njoined : returns user's joined connections\n- called with `partner` instance\n- returns an array\n- returns length of 1 ( only mocking 1 connection )\n- array elements are of the Connection model\n- element's id ==== mock connection id"}}
{"actor":{"display_login":"Bigghead"}}