Fix tests
parent
d66fabe387
commit
20321def38
|
@ -24,7 +24,7 @@ describe('Squads', () => {
|
||||||
*/
|
*/
|
||||||
describe('/GET squads', () => {
|
describe('/GET squads', () => {
|
||||||
it('it should GET all the squads', (done) => {
|
it('it should GET all the squads', (done) => {
|
||||||
chai.deleteMany(server)
|
chai.request(server)
|
||||||
.get(urls.squads)
|
.get(urls.squads)
|
||||||
.end((err, res) => {
|
.end((err, res) => {
|
||||||
res.should.have.status(codes.success);
|
res.should.have.status(codes.success);
|
||||||
|
|
Loading…
Reference in New Issue