summaryrefslogtreecommitdiffstats
path: root/test/assertions.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-06-02 11:00:22 +0200
committerSamy Pessé <samypesse@gmail.com>2015-06-02 11:00:22 +0200
commita9a230dfc31d9d5092adda51344b0c9f725d9788 (patch)
treee9b864c6c0e08d37afce0df70b1a9bffdb3f94a9 /test/assertions.js
parent13fb949d6818bc47a2215ee788c392fa38e1e1d6 (diff)
parent6d53e5277100fe6a9372dea4ab9d70c769a28176 (diff)
downloadgitbook-a9a230dfc31d9d5092adda51344b0c9f725d9788.zip
gitbook-a9a230dfc31d9d5092adda51344b0c9f725d9788.tar.gz
gitbook-a9a230dfc31d9d5092adda51344b0c9f725d9788.tar.bz2
Merge pull request #781 from GitbookIO/fix/775
Fix #775: add optional print.css style
Diffstat (limited to 'test/assertions.js')
-rw-r--r--test/assertions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/assertions.js b/test/assertions.js
index d807d4d..7a34380 100644
--- a/test/assertions.js
+++ b/test/assertions.js
@@ -35,7 +35,7 @@ should.Assertion.add('html', function(rules, description) {
var $el = $(query);
// Test number of elements
- $el.should.have.lengthOf(validations.count);
+ $el.length.should.be.equal(validations.count);
// Test text
if (validations.text !== undefined) {