Ignore copyright in dummy swagger-ui test

Signed-off-by: Supasate Choochaisri <supasate.c@gmail.com>
This commit is contained in:
Supasate Choochaisri 2016-05-06 21:46:02 +07:00
parent cb6eafd592
commit c3fe27a5fe
1 changed files with 8 additions and 3 deletions

View File

@ -128,9 +128,14 @@ describe('explorer', function() {
it('overrides swagger-ui files', function(done) {
request(app).get('/explorer/swagger-ui.js')
.expect(200)
.end(function(err, res) {
if (err) return done(err);
// expect the content of `dummy-swagger-ui/swagger-ui.js`
.expect('/* custom swagger-ui file */' + os.EOL)
.end(done);
expect(res.text).to.contain('/* custom swagger-ui file */' + os.EOL);
done();
});
});
it('overrides strongloop overrides', function(done) {