Sha256: 24daf5ac349f37a975f9b192d15b59919fc9699479e396eea6afacc1759cecd7
Contents?: true
Size: 444 Bytes
Versions: 10
Compression:
Stored size: 444 Bytes
Contents
describe("Extensions", function() { it("should test a negated conditional with unless", function() { var is_true = false, does_fallback_work = false; unless (false, function() { is_true = true; } ); unless (true, function() {}, function() { does_fallback_work = true; } ); expect(is_true).toBeTruthy(); expect(does_fallback_work).toBeTruthy(); }); });
Version data entries
10 entries across 9 versions & 2 rubygems