Skip to content

Commit

Permalink
Merge branch 'master' of github.com:visionmedia/should.js
Browse files Browse the repository at this point in the history
  • Loading branch information
btd committed Jan 7, 2014
2 parents 988c160 + c58d92c commit 8d230fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ var user = {
user.should.have.property('name', 'tj');
user.should.have.property('pets').with.lengthOf(4);

// or without Object.prototype, for guys how did Object.create(null)
// if the object was created with Object.create(null)
// then it doesn't inherit `Object` and have the `should` getter
// so you can do:

should(user).have.property('name', 'tj');
should(true).ok;

Expand Down

0 comments on commit 8d230fe

Please sign in to comment.