diff --git a/lib/chai/core/assertions.js b/lib/chai/core/assertions.js index 9ca0b0cd7..90c4a6984 100644 --- a/lib/chai/core/assertions.js +++ b/lib/chai/core/assertions.js @@ -34,6 +34,7 @@ module.exports = function (chai, _) { * - of * - same * - but + * - does * * @name language chains * @namespace BDD @@ -43,7 +44,7 @@ module.exports = function (chai, _) { [ 'to', 'be', 'been' , 'is', 'and', 'has', 'have' , 'with', 'that', 'which', 'at' - , 'of', 'same', 'but' ].forEach(function (chain) { + , 'of', 'same', 'but', 'does' ].forEach(function (chain) { Assertion.addProperty(chain); }); diff --git a/test/expect.js b/test/expect.js index ba8590e81..99d80de94 100644 --- a/test/expect.js +++ b/test/expect.js @@ -31,7 +31,7 @@ describe('expect', function () { [ 'to', 'be', 'been' , 'is', 'and', 'has', 'have' , 'with', 'that', 'which', 'at' - , 'of', 'same', 'but' ].forEach(test); + , 'of', 'same', 'but', 'does' ].forEach(test); }); it('fail', function () { diff --git a/test/should.js b/test/should.js index efbc149a8..37a4876a7 100644 --- a/test/should.js +++ b/test/should.js @@ -28,7 +28,7 @@ describe('should', function() { [ 'to', 'be', 'been' , 'is', 'and', 'has', 'have' , 'with', 'that', 'which', 'at' - , 'of', 'same', 'but' ].forEach(test); + , 'of', 'same', 'but', 'does' ].forEach(test); }); it('fail', function () {