ModelSpec.js 308 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 Ext.generator.Model.templates.ModelSpec = new Ext.XTemplate( 'describe("A {name}", function() {\n', ' var {name} = Ext.ModelManager.getModel("{name}"),\n', ' instance;\n\n', ' beforeEach(function() {\n', ' instance = new {name}({});\n', ' });\n\n', '});' );