TryGhost/Ghost — pull request #1322 by sebgie (2013-10-29 08:25:49+00:00)
Title: Add API tests

closes #1189
- added tests
- added request module
- added status codes to API calls
- fixed return values of API calls
- fixed that drafts caused an error when being deleted
- fixed X-Invalidate-Cache headers
- moved testUtils.js to utils/index.js