diff options
Diffstat (limited to 'test/plugins.js')
-rw-r--r-- | test/plugins.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/plugins.js b/test/plugins.js index cc9c8e6..6d5b9de 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -90,7 +90,12 @@ describe('Plugins', function () { it('should extend books plugins', function() { var resources = book.plugins.resources("ebook"); - resources["css"].should.have.lengthOf(1); + + // There is resources from highlight plugin and this plugin + resources["css"].should.have.lengthOf(2); + should.exist(_.find(resources["css"], { + path: './resources/test' + })); }); }); }); |