Sha256: 19f021e469fc769c90b010342e39ff16884138ed109835096a6d6c115f87634b
Contents?: true
Size: 501 Bytes
Versions: 8
Compression:
Stored size: 501 Bytes
Contents
describe("NinjsApplication", function() { var app; beforeEach(function() { app = new NinjsApplication('myapp'); }); afterEach(function() { app = undefined; }); it("should create a ninjs application object", function() { expect(is_defined(app)).toBeTruthy(); expect(is_typeof(NinjsApplication, app)).toBeTruthy(); }); it("should create a NinjsModule", function() { app.add_module('mymod'); expect(is_typeof(NinjsModule, app.mymod)).toBeTruthy(); }); });
Version data entries
8 entries across 8 versions & 1 rubygems