Skip to content

Instantly share code, notes, and snippets.

@halfdan
Created November 4, 2013 13:31
Show Gist options
  • Save halfdan/7302470 to your computer and use it in GitHub Desktop.
Save halfdan/7302470 to your computer and use it in GitHub Desktop.
1) Post API can retrieve all posts:
Uncaught AssertionError: expected response code of 200 'OK', but got 401 'Unauthorized'
at Object.Assertion.status (/home/vagrant/code/Ghost/node_modules/should/lib/should.js:892:10)
at Request._callback (/home/vagrant/code/Ghost/core/test/unit/api_posts_spec.js:54:34)
at Request.self.callback (/home/vagrant/code/Ghost/node_modules/request/request.js:129:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request.<anonymous> (/home/vagrant/code/Ghost/node_modules/request/request.js:873:14)
at Request.EventEmitter.emit (events.js:117:20)
at IncomingMessage.<anonymous> (/home/vagrant/code/Ghost/node_modules/request/request.js:824:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment