diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/plugins.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/plugins.js b/test/plugins.js index 399cdc5..62cf9ba 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -81,6 +81,21 @@ describe('Plugins', function() { }) .should.be.fulfilledWith(1); }); + it('should correctly install dependencies from GitHub via ssh', function() { + return mock.setupBook({ + 'book.json': { + plugins: ['ga@git@github.com:GitbookIO/plugin-ga.git#master'] + } + }) + .then(function(book) { + return book.prepareConfig() + .then(function() { + var plugins = new PluginsManager(book); + return plugins.install(); + }); + }) + .should.be.fulfilledWith(1); + }); }); describe('Loading', function() { |