Closed scytacki closed 10 years ago
I get a message: TypeError: Object #<Assertion> has no method 'lengthOf' when calling .should.have.lengthOf
TypeError: Object #<Assertion> has no method 'lengthOf'
.should.have.lengthOf
looking at the code, it looks the order of arguments to Assertion.alias is reversed.
Assertion.alias
That seems like the cause.
I get a message:
TypeError: Object #<Assertion> has no method 'lengthOf'
when calling.should.have.lengthOf
looking at the code, it looks the order of arguments to
Assertion.alias
is reversed.