Sha256: 4cd58162bbb37c0ff547b08eb6af745c60390224c426e10aeee6c96d8349dfce
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
Screw.Unit(function() { describe("The <%= @class_name %> class", function() { var <%= @inst_name %>; before(function() { <%= @inst_name %> = new <%= @namespace %>.models.<%= @class_name %>({ //set fields for this model here }); }); //create your unit tests here }); });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xmvc-0.1.2 | lib/xmvc/generators/templates/ModelSpec.js |
xmvc-0.1.1 | lib/xmvc/generators/templates/ModelSpec.js |
xmvc-0.1.0 | lib/xmvc/generators/templates/ModelSpec.js |