Sha256: 586d1554ab2f5c06bf95fe287f0be9a0a859c80be0d416699fd861b3b28f6419
Contents?: true
Size: 423 Bytes
Versions: 16
Compression:
Stored size: 423 Bytes
Contents
/*! * Should * Copyright(c) 2010-2014 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ module.exports = function(should, Assertion) { Assertion.add('true', function() { this.is.exactly(true) }, true); Assertion.add('false', function() { this.is.exactly(false) }, true); Assertion.add('ok', function() { this.params = { operator: 'to be truthy' }; this.assert(this.obj); }, true); };
Version data entries
16 entries across 16 versions & 1 rubygems