Have strict / non-strict alternatives
Reported by TJ Holowaychuk | April 7th, 2009 @ 08:33 PM
Many of the matchers could do with strict / non-strict versions similar to eql and equal resulting in assertions like below:
response = { ran : '1' }
response.should.have_prop 'ran', true
// => true
response = { ran : '1' }
response.should.have_property 'ran', true
// => false
Comments and changes to this ticket
-
TJ Holowaychuk April 9th, 2009 @ 03:45 AM
- Milestone cleared.
-
TJ Holowaychuk April 9th, 2009 @ 03:50 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Tiny, full-featured JavaScript BDD framework.