diff options
Diffstat (limited to 'test/plugins.js')
-rw-r--r-- | test/plugins.js | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/plugins.js b/test/plugins.js index a81110c..cc9c8e6 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -235,31 +235,5 @@ describe('Plugins', function () { }); }); }); - - describe('Replace code highlighting', function() { - it('should correctly replace highlighting', function() { - return books.generate('basic', 'website', { - before: function(book) { - var plugin = new Plugin(book, "blocks"); - plugin.load("./highlight", PLUGINS_ROOT); - - return book.plugins.load(plugin); - } - }) - .then(function() { - var PAGE = fs.readFileSync( - path.join(book.options.output, "index.html"), - { encoding: "utf-8" } - ); - - PAGE.should.be.html({ - "code": { - count: 1, - text: 'code__test\n__code' - } - }); - }); - }) - }); }); |