3 var should = require('should');
4 var app = require('../../app');
5 var request = require('supertest');
7 describe('GET /api/zendesk/configurations', function() {
9 it('should respond with JSON array', function(done) {
11 .get('/api/zendesk/configurations')
13 .expect('Content-Type', /json/)
14 .end(function(err, res) {
15 if (err) return done(err);
16 res.body.should.be.instanceof(Array);