2017-02-10 00:08:28 +00:00
|
|
|
/// <reference path="TestGame.ts" />
|
|
|
|
/// <reference path="Boot.ts" />
|
|
|
|
|
|
|
|
module TS.SpaceTac.UI.Specs {
|
|
|
|
describe("Boot", () => {
|
2017-02-21 22:38:31 +00:00
|
|
|
let testgame = setupSingleView(testgame => [new Boot(), []]);
|
|
|
|
|
|
|
|
it("places empty loading background", function () {
|
|
|
|
expect(testgame.ui.world.children.length).toBe(1);
|
|
|
|
expect(testgame.ui.world.children[0] instanceof Phaser.Image).toBe(true);
|
2017-02-10 00:08:28 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|