Created
December 2, 2013 07:41
-
-
Save simianhacker/7746318 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require('request'); | |
var expect = require('chai').expect; | |
describe('GET /api/users', function () { | |
it('should return a 200 statusCode', function (done) { | |
request('http://localhost:5555/api/users', function (err, resp, body) { | |
expect(resp.statusCode).to.equal(200); | |
done(); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment