Sha256: ff5ca9be59cb81a51686eb6d0446ad0160270a48f2c4b09eb7941c5cf22a03b1
Contents?: true
Size: 700 Bytes
Versions: 13
Compression:
Stored size: 700 Bytes
Contents
describe("'<%=file_name%>' shader", function() { var material, mesh; beforeEach(function() { mesh = new Jax.Mesh.Quad(); }); describe("stand-alone", function() { beforeEach(function() { mesh.material = new Jax.Material.<%=class_name%>(); }); it("should render without error", function() { expect(function() { mesh.render(SPEC_CONTEXT); }).not.toThrow(); }); }); describe("as a layer", function() { beforeEach(function() { mesh.material = new Jax.Material({layers:[{ type:"<%=class_name%>" }]}); }); it("should render without error", function() { expect(function() { mesh.render(SPEC_CONTEXT); }).not.toThrow(); }); }); });
Version data entries
13 entries across 13 versions & 1 rubygems