mirror of
https://github.com/chaijs/chai
synced 2024-11-14 15:57:10 +00:00
Release 0.2.4
This commit is contained in:
parent
dc2c2ddab2
commit
2ad9f016f7
4 changed files with 11 additions and 4 deletions
|
@ -1,4 +1,9 @@
|
|||
|
||||
0.2.4 / 2012-02-02
|
||||
==================
|
||||
|
||||
* added in past tense switch for `been`
|
||||
|
||||
0.2.3 / 2012-02-01
|
||||
==================
|
||||
|
||||
|
|
6
chai.js
6
chai.js
|
@ -188,7 +188,8 @@ Object.defineProperty(Assertion.prototype, 'be',
|
|||
/**
|
||||
* # been
|
||||
*
|
||||
* Language chain.
|
||||
* Language chain. Also tests `tense` to past for addon
|
||||
* modules that use the tense feature.
|
||||
*
|
||||
* @name been
|
||||
* @api public
|
||||
|
@ -196,6 +197,7 @@ Object.defineProperty(Assertion.prototype, 'be',
|
|||
|
||||
Object.defineProperty(Assertion.prototype, 'been',
|
||||
{ get: function () {
|
||||
this.tense = 'past';
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
@ -964,7 +966,7 @@ require.register("chai.js", function(module, exports, require){
|
|||
|
||||
var exports = module.exports = {};
|
||||
|
||||
exports.version = '0.2.3';
|
||||
exports.version = '0.2.4';
|
||||
|
||||
exports.Assertion = require('./assertion');
|
||||
exports.AssertionError = require('./error');
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
var exports = module.exports = {};
|
||||
|
||||
exports.version = '0.2.3';
|
||||
exports.version = '0.2.4';
|
||||
|
||||
exports.Assertion = require('./assertion');
|
||||
exports.AssertionError = require('./error');
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "chai",
|
||||
"description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic.",
|
||||
"keywords": [ "test", "assertion", "assert", "testing" ],
|
||||
"version": "0.2.3",
|
||||
"version": "0.2.4",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/logicalparadox/chai"
|
||||
|
|
Loading…
Reference in a new issue