Sha256: b6255d76e78b83513c08b14033ee8d156dc0dede8126a5e5a73862cd1b22a50e
Contents?: true
Size: 587 Bytes
Versions: 4
Compression:
Stored size: 587 Bytes
Contents
// TODO: Fix these unit tests! describe("Env", function() { var env; beforeEach(function() { env = new j$.Env(); }); describe("#pending", function() { it("throws the Pending Spec exception", function() { expect(function() { env.pending(); }).toThrow(j$.Spec.pendingSpecExceptionMessage); }); }); describe("#topSuite", function() { it("returns the Jasmine top suite for users to traverse the spec tree", function() { var suite = env.topSuite(); expect(suite.description).toEqual('Jasmine__TopLevel__Suite'); }); }); });
Version data entries
4 entries across 4 versions & 1 rubygems