Skip to content

Instantly share code, notes, and snippets.

@thebergamo
Created July 3, 2014 12:33
Show Gist options
  • Save thebergamo/351840356f360b8c44a7 to your computer and use it in GitHub Desktop.
Save thebergamo/351840356f360b8c44a7 to your computer and use it in GitHub Desktop.
Testes Deletar Usuário
describe('DELETE /api/user', function () {
it('Delete User Sucess', function (done) {
request('http://localhost:8080/api/')
.del('user/53b48b72f4211ee61908efac')
.expect(202, done);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment