summaryrefslogtreecommitdiffstats
path: root/test/glossary.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2015-05-28 14:49:53 +0200
committerSamy Pesse <samypesse@gmail.com>2015-05-28 14:49:53 +0200
commit32203f643825c12e7869006896b03f08cfaa43cc (patch)
tree2cd6b897415238a99aae493a82471d4c8d9c81ba /test/glossary.js
parentf2d3c5d2ed85d3924666a00caa8a28549d2ba292 (diff)
downloadgitbook-32203f643825c12e7869006896b03f08cfaa43cc.zip
gitbook-32203f643825c12e7869006896b03f08cfaa43cc.tar.gz
gitbook-32203f643825c12e7869006896b03f08cfaa43cc.tar.bz2
Sort glossary before applying it on pages
Diffstat (limited to 'test/glossary.js')
-rw-r--r--test/glossary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/glossary.js b/test/glossary.js
index 14c3cf7..fb573d9 100644
--- a/test/glossary.js
+++ b/test/glossary.js
@@ -76,7 +76,7 @@ describe('Glossary', function () {
it('should correctly select the longest term', function() {
readme.should.be.html({
- ".page-inner a[href='GLOSSARY.html#test-long']": {
+ ".page-inner a[href='GLOSSARY.html#test_long']": {
count: 1,
text: "test long"
}