summaryrefslogtreecommitdiffstats
path: root/test/assertions.js
diff options
context:
space:
mode:
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) {