Commit graph

858 commits

Author SHA1 Message Date
Keith Cirkel
45f9e6aad1 Merge pull request #374 from jmm/v2.0.1
Increment version to 2.0.1.
2015-02-23 20:48:38 +00:00
Jesse McCarthy
a8ffb9c152 Increment version to 2.0.1.
See https://github.com/chaijs/chai/issues/373
2015-02-23 11:19:51 -05:00
Jake Luer
74ca9202ee Merge pull request #365 from chaijs/fix-travis
Fix travis.yml deploy
2015-02-11 15:26:36 -05:00
Keith Cirkel
a33e614e9a Fix travis.yml deploy 2015-02-11 19:47:55 +00:00
Keith Cirkel
2147e1d49e 2.0.0 2015-02-11 16:21:51 +00:00
Keith Cirkel
9c10c9f03e Merge pull request #364 from chaijs/v2.0.0
v2.0.0
2015-02-11 15:58:05 +00:00
Keith Cirkel
9b25d0c524 Merge pull request #356 from Soviut/master
Added fail() method to Should and Expect interfaces
2015-02-10 23:41:58 +00:00
Ian Zamojc
ffd7c190e4 documented fail methods for expect and should interfaces 2015-02-10 18:39:39 -05:00
Ian Zamojc
c2f9e430d9 fail method added directly to expect 2015-02-10 16:50:31 -05:00
Keith Cirkel
84ed233a6d v2.0.0 2015-02-09 20:33:41 +00:00
Keith Cirkel
5753ecbb5b Merge pull request #361 from gregglind/b265-keys-object
Fix #265
2015-02-09 18:37:37 +00:00
Gregg Lind
4f40b37356 fix #359. Add `.keys(object)
- `.keys(object)n => .keys(Object.keys(Object)`
- added exceptions for 'if first arg is non-string, then it must be only
arg.  => `.keys(Array|Object, ...)`

Warning:  `Object.keys` must exist on systems to use this functionality.
2015-02-09 09:16:01 -06:00
Keith Cirkel
bd722801a8 Merge pull request #359 from gregglind/b359-unexpected-keys-sort
Arrays passed to `.keys()` assertions are sorted (unexpectedly) by side-effect
2015-02-06 10:15:01 +00:00
Gregg Lind
68f3c02f07 Fix #359 keys() sorts input unexpectedly 2015-02-05 19:36:09 -06:00
Jake Luer
dfd73fffc8 contrib: publish release strategy and travis npm creds #337 2015-02-02 20:53:11 -05:00
Keith Cirkel
3a753199a2 Merge pull request #357 from danilovaz/master
Update copyright date
2015-02-01 11:15:04 +00:00
Danilo Vaz
fe83f2b4cf Update copyright date 2015-02-01 01:33:52 -02:00
Ian Zamojc
61d8718c69 added fail() method to expect interface 2015-01-30 16:00:47 -05:00
Ian Zamojc
9080562c9a using proper error checking method for should 2015-01-30 16:00:47 -05:00
Ian Zamojc
41b158720b changed default message for should.fail() 2015-01-30 16:00:47 -05:00
Ian Zamojc
d353bf7bc5 added should.fail() method 2015-01-30 16:00:46 -05:00
Keith Cirkel
0ce930b8f4 Merge pull request #349 from toastynerd/add-which-chain-method
add the which chain method as per issue #347
2015-01-22 17:44:56 +00:00
toastynerd
498fe95126 add the which chain method as per issue #347 2015-01-22 09:07:59 -08:00
Keith Cirkel
5fc486b573 Merge pull request #333 from cmpolis/change-assertions
Added `change`, `increase` and `decrease` assertions with `by` chain (#330)
2015-01-02 19:08:10 +00:00
Chris Polis
a6692349c5 more by cleanup 2015-01-02 10:16:25 -08:00
Chris Polis
051fd95d88 cleaned out .by for #333 2015-01-02 10:13:44 -08:00
Keith Cirkel
7e3da212f0 Merge pull request #335 from DingoEatingFuzz/expose-util
Expose the util package through the chai object
2015-01-02 17:56:54 +00:00
Michael Lange
ebcfd87a0e Expose chai util through the chai object
The chai util object has a lot of useful functions that can be used
outside of the context of assertions.
2014-12-30 13:19:45 -08:00
Chris Polis
581cf83b11 cleanup (per notes on pr #333) 2014-12-29 09:47:32 -08:00
Chris Polis
cb1c33b5d8 updated change to work w/ non-number values + tests 2014-12-29 09:45:25 -08:00
Keith Cirkel
a6a7f9c66a Merge pull request #334 from hurrymaplelad/patch-1
Typo, the flag is called 'contains' with an 's'
2014-12-29 10:11:06 +00:00
Adam Hull
0eb70e1955 Typo, the flag is called 'contains' with an 's' 2014-12-28 22:16:17 -05:00
Chris Polis
647e49c8e4 updated assertion interface with change (#330) 2014-12-27 17:52:50 -08:00
Chris Polis
34576803ec added change,increase,decrease assertions (#330) 2014-12-27 17:43:27 -08:00
Chris Polis
be67119616 assert tests for change,increase,decrease 2014-12-27 17:13:22 -08:00
Chris Polis
c44a5133f9 expect/should tests for change,increase,decrease 2014-12-27 17:10:59 -08:00
Keith Cirkel
2a91fe05d2 Merge pull request #328 from lo1tuma/issue-327
Add includes and contains alias (fixes #327)
2014-12-27 09:50:12 +00:00
Mathias Schreck
061c79051a Add includes and contains alias (fixes #327) 2014-12-24 17:53:04 +01:00
Keith Cirkel
4dc7cc073a Merge pull request #325 from chasenlehara/overwriteChainableMethodDocs
Fix docs for overwriteChainableMethod parameters
2014-12-15 14:12:13 +00:00
Chasen Le Hara
24735f14b7 Fix docs for overwriteChainableMethod parameters 2014-12-14 21:42:45 -08:00
Keith Cirkel
874ac20541 Merge pull request #317 from jasonkarns/patch-2
minor docs typo
2014-12-09 21:04:27 +00:00
Keith Cirkel
2aa6eb6392 Merge pull request #318 from jasonkarns/patch-3
typos in docs
2014-12-09 21:04:15 +00:00
Keith Cirkel
4531bdf61d Merge pull request #316 from jasonkarns/patch-1
update docs: getAllFlags -> transferFlags
2014-12-09 21:03:17 +00:00
Jason Karns
9db0626783 typos in docs 2014-12-09 09:12:22 -05:00
Jason Karns
d2c4c3f79d minor docs typo 2014-12-09 09:11:06 -05:00
Jason Karns
7ee2c18cf7 update docs: getAllFlags -> transferFlags
Documentation was out of date
2014-12-09 09:09:07 -05:00
Keith Cirkel
46aac80185 Merge pull request #313 from cjqed/254-expect-any-all
Added the 'any' and 'all' flags for 'keys' assertion, with 'all' being the default behavior
2014-12-08 21:31:54 +00:00
Chris Jones
e0e06082ea Added the all and any flags for keys assertion, with all being the default behavior
Extended keys documentation and set bools instead of changing flags in the keys assertion

Miswrote in keys documentation, corrected mistake

Edited documentation for keys to better match how it interacts with contains and have
2014-12-03 18:00:42 -05:00
Keith Cirkel
f06278f0b8 Merge pull request #312 from cjqed/291-assert-same-deep-members
Fixes issue #291, adds assert.sameDeepMembers
2014-12-03 20:22:21 +00:00
Chris Jones
0d814eb6f2 Changed public comment of sameDeepMemebers to be more clear 2014-12-02 19:38:07 -05:00