diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-06-02 11:00:22 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-06-02 11:00:22 +0200 |
commit | a9a230dfc31d9d5092adda51344b0c9f725d9788 (patch) | |
tree | e9b864c6c0e08d37afce0df70b1a9bffdb3f94a9 /test/assertions.js | |
parent | 13fb949d6818bc47a2215ee788c392fa38e1e1d6 (diff) | |
parent | 6d53e5277100fe6a9372dea4ab9d70c769a28176 (diff) | |
download | gitbook-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.js | 2 |
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) { |