Sha256: 54bbc4410ea9a374c04d106a7214903e3495c9d887ab0127d9d94c918e0ac527
Contents?: true
Size: 700 Bytes
Versions: 9
Compression:
Stored size: 700 Bytes
Contents
describe("Shader '<%=file_name%>'", 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
9 entries across 9 versions & 1 rubygems