Add `has` to language chains #226

Merged
merged 1 commit into from Jan 25, 2014

Projects

None yet

4 participants

@duncanbeevers
Contributor

Add has to the language chains.

This is to address the awkward phrasing that arises from chaining assertions off of properties.

expect(obj)
  .to.have.property('collection')
  .that.has.members([1, 2, 3])
@coveralls

Coverage Status

Coverage remained the same when pulling 4ea26a7 on duncanbeevers:add_has into 564af34 on chaijs:master.

@vesln
Member
vesln commented Dec 27, 2013

Fine by me. @logicalparadox ?

@logicalparadox
Member

👍

@vesln vesln merged commit 3835bed into chaijs:master Jan 25, 2014

1 check failed

default The Travis CI build could not complete due to an error
Details
@vesln
Member
vesln commented Jan 25, 2014

Thanks!

@duncanbeevers duncanbeevers deleted the duncanbeevers:add_has branch Jan 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment