Ignore copyright in dummy swagger-ui test
Signed-off-by: Supasate Choochaisri <supasate.c@gmail.com>
This commit is contained in:
parent
cb6eafd592
commit
c3fe27a5fe
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue