mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
479ea0772a
* reduce setup duplication * consistent test file names
18 lines
480 B
JavaScript
18 lines
480 B
JavaScript
var specHelper = require('./specHelper');
|
|
|
|
describe('The routes', function () {
|
|
var request;
|
|
|
|
before(function () { request = specHelper.setupMockServer(); });
|
|
after(specHelper.tearDownMockServer);
|
|
|
|
describe('healthcheck', function () {
|
|
it('returns health good', function (done) {
|
|
request.get('/health')
|
|
.expect('Content-Type', /json/)
|
|
.expect(200)
|
|
.expect('{"health":"GOOD"}', done);
|
|
});
|
|
});
|
|
|
|
}); |