Skip to content

Commit

Permalink
Merge pull request #334 from hurrymaplelad/patch-1
Browse files Browse the repository at this point in the history
Typo, the flag is called 'contains' with an 's'
  • Loading branch information
keithamus committed Dec 29, 2014
2 parents 2a91fe0 + 0eb70e1 commit a6a7f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports = function (chai, _) {
* The `include` and `contain` assertions can be used as either property
* based language chains or as methods to assert the inclusion of an object
* in an array or a substring in a string. When used as language chains,
* they toggle the `contain` flag for the `keys` assertion.
* they toggle the `contains` flag for the `keys` assertion.
*
* expect([1,2,3]).to.include(2);
* expect('foobar').to.contain('foo');
Expand Down

0 comments on commit a6a7f9c

Please sign in to comment.