Sha256: 0ca3e7b5735ae19a4a6fdbfdd212001d3cef2e0a1501cb934d5738635c84b9a6
Contents?: true
Size: 290 Bytes
Versions: 8
Compression:
Stored size: 290 Bytes
Contents
describe("failure", function(){ it("fails", function(){ (2 + 2).should.equal(5); }); it("errors", function() { // Mocha catches and re-throws string exceptions, so we only need to test // throwing real Error objects. throw new Error("this one errors out"); }); });
Version data entries
8 entries across 8 versions & 1 rubygems