diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-18 16:34:11 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-18 16:34:11 +0100 |
commit | 8401a674c382cd1c7ca6c6a02e4def3d237c9734 (patch) | |
tree | 6b16eb46710e5e9510483d19ef5c256c5dd93938 /test/git.js | |
parent | 3fcf1a7723a5a3b7a436974c445dbb2b79fad583 (diff) | |
download | gitbook-8401a674c382cd1c7ca6c6a02e4def3d237c9734.zip gitbook-8401a674c382cd1c7ca6c6a02e4def3d237c9734.tar.gz gitbook-8401a674c382cd1c7ca6c6a02e4def3d237c9734.tar.bz2 |
Add test for navigation in summary
Diffstat (limited to 'test/git.js')
-rw-r--r-- | test/git.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/git.js b/test/git.js index 8667b07..9fd7490 100644 --- a/test/git.js +++ b/test/git.js @@ -10,14 +10,14 @@ describe('Git', function() { it('should correctly validate git urls', function() { // HTTPS - Git.isUrl('git+https://github.com/Hello/world.git').should.be.ok; + Git.isUrl('git+https://github.com/Hello/world.git').should.be.ok(); // SSH Git.isUrl('git+git@github.com:GitbookIO/gitbook.git/directory/README.md#e1594cde2c32e4ff48f6c4eff3d3d461743d74e1').should.be.ok; // Non valid - Git.isUrl('https://github.com/Hello/world.git').should.not.be.ok; - Git.isUrl('README.md').should.not.be.ok; + Git.isUrl('https://github.com/Hello/world.git').should.not.be.ok(); + Git.isUrl('README.md').should.not.be.ok(); }); it('should parse HTTPS urls', function() { |