Sha256: af74c4349772cd877b6615ea4d5689a7af8e64d1d047f2c2086e837ed528a726
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
var spec = new QSpec("Extensions"); spec.should("test a condition with unless", function() { var is_true = false; unless (false, function() { is_true = true; } ); ok(is_true, "unless works"); var does_fallback_work = false; unless (true, function() { }, function() { does_fallback_work = true; } ); ok(does_fallback_work, 'fallback works'); }); spec.run_all();
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ninjs-0.16.0 | repository/ninjs/tests/extension.test.js |