Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/betable/should.js into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
btd committed Sep 26, 2013
2 parents 471842e + 700e53a commit cf864ba
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 73 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ res.should.be.json
res.should.be.html
```

## include(obj)
## include(obj) or contain(obj)

Assert that the given `obj` is present via `indexOf()`, so this works for strings, arrays, or custom objects implementing indexOf. Also it can assert if given object will have some sub-object
Assert that the given `obj` is present via `indexOf()`, so this works for strings, arrays, or custom objects implementing indexOf. Also it can assert if given object will have some sub-object.

Assert array value:
```javascript
Expand Down
Loading

0 comments on commit cf864ba

Please sign in to comment.