ensl_gathers/spec/integration.js
2015-08-18 12:40:48 +01:00

21 lines
No EOL
389 B
JavaScript

"use strict";
var helper = require("./helpers/index.js");
var request = require("supertest");
var app = helper.app;
describe("Basic Spec", function () {
it ("serves main page", function (done) {
request(app)
.get("/")
.expect(200)
.end(done);
});
it ("returns 404 if page not found", function (done) {
request(app)
.get("/foo")
.expect(404)
.end(done);
});
});