UNPKG

grunt-doctrine

Version:

Grunt plugin to convert doctrine xml annotations into backbone models and collections. Useful in conjunction with doctrine apigility. Includes option to scaffold an entire BBB application

29 lines (24 loc) 694 B
(function() { "use strict"; /* * Test Module: Configure * Ensures that configuration settings have correct defaults, initialization, * overriding, and functionality. * */ QUnit.module("configure", { setup: function() { this.LM = require("../../"); } }); // Ensure the correct defaults are set for all Layout and View options. asyncTest("can render a basic template", 1, function() { // Create a new layout with a sample template. var layout = new this.LM({ template: "test/templates/test" }); // Render and check. layout.render().promise().then(function() { equal(this.$el.html().trim(), "Sample template.", "Correct render output."); start(); }); }); })();