{"action":"created","issue":{"url":"https://api.github.com/repos/retsr/rets.js/issues/29","labels_url":"https://api.github.com/repos/retsr/rets.js/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/retsr/rets.js/issues/29/comments","events_url":"https://api.github.com/repos/retsr/rets.js/issues/29/events","html_url":"https://github.com/retsr/rets.js/pull/29","id":68869737,"number":29,"title":"Refactoring server tests","user":{"login":"lgomez","id":20891,"avatar_url":"https://avatars.githubusercontent.com/u/20891?v=3","gravatar_id":"","url":"https://api.github.com/users/lgomez","html_url":"https://github.com/lgomez","followers_url":"https://api.github.com/users/lgomez/followers","following_url":"https://api.github.com/users/lgomez/following{/other_user}","gists_url":"https://api.github.com/users/lgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/lgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgomez/subscriptions","organizations_url":"https://api.github.com/users/lgomez/orgs","repos_url":"https://api.github.com/users/lgomez/repos","events_url":"https://api.github.com/users/lgomez/events{/privacy}","received_events_url":"https://api.github.com/users/lgomez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/retsr/rets.js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T08:12:09Z","updated_at":"2015-05-16T19:30:10Z","closed_at":"2015-05-16T19:30:10Z","pull_request":{"url":"https://api.github.com/repos/retsr/rets.js/pulls/29","html_url":"https://github.com/retsr/rets.js/pull/29","diff_url":"https://github.com/retsr/rets.js/pull/29.diff","patch_url":"https://github.com/retsr/rets.js/pull/29.patch"},"body":"@dermidgen Here's a bunch of changes I worked on today. I'm trying to merge live and mock servers and treat the mock as any other server (only we'll be adding those nocks manually and those will be committed).\r\n\r\nCan you give this a try locally and tell me if you can get it to work, what you think, etc?\r\n\r\nSomewhat inspired by [this](https://orchestrate.io/blog/2014/06/13/how-to-test-code-that-uses-http-apis-using-node-js-mocha-and-nock/).\r\n\r\nNote that these tests may make sense in rets.test.js but keeping them separate for now."},"comment":{"url":"https://api.github.com/repos/retsr/rets.js/issues/comments/102667991","html_url":"https://github.com/retsr/rets.js/pull/29#issuecomment-102667991","issue_url":"https://api.github.com/repos/retsr/rets.js/issues/29","id":102667991,"user":{"login":"lgomez","id":20891,"avatar_url":"https://avatars.githubusercontent.com/u/20891?v=3","gravatar_id":"","url":"https://api.github.com/users/lgomez","html_url":"https://github.com/lgomez","followers_url":"https://api.github.com/users/lgomez/followers","following_url":"https://api.github.com/users/lgomez/following{/other_user}","gists_url":"https://api.github.com/users/lgomez/gists{/gist_id}","starred_url":"https://api.github.com/users/lgomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgomez/subscriptions","organizations_url":"https://api.github.com/users/lgomez/orgs","repos_url":"https://api.github.com/users/lgomez/repos","events_url":"https://api.github.com/users/lgomez/events{/privacy}","received_events_url":"https://api.github.com/users/lgomez/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T19:30:10Z","updated_at":"2015-05-16T19:30:10Z","body":"Closing this. It's too old and direction changed regarding tests."}}