- Added better
.json - Added better
.html
- Added string matching to
.throw()[serby] - Added regexp matching to
.throw()[serby] - Added
.includeEql()[RubenVerborgh] - Added
.should.be.html - Added
.should.be.json - Added optional description args to most matchers [Mike Swift]
- Fixed .header() for realzzz
- Fixed: chain .header() to retain negation
- Added
.should.throw() - Added
.include()support for strings - Added
.include()support for arrays - Removed
keys().includemodifier support - Removed
.object() - Removed
.string() - Removed
.contain() - Removed
.respondTo()rubyism - expresso -> mocha
- Fixed tests for 0.5.x
- Fixed sys warning
- configurable
- Added assertion for inclusion of an object:
foo.should.include.object({ foo: 'bar' })
- Fixed .status(code). Closes #18
- Added
res.should.have.status(code)method - Added
res.should.have.header(field, val)method
- Added
should.exist(obj)[aseemk] - Added
should.not.exist(obj)[aseemk]
- Added
.okto assert truthfulness - Added
.arguments - Fixed double required bug. [thanks dominictarr]
- Added
true/falseassertions
- Added chaining support
- Initial release