Sha256: ea08dbc0b0423cfb6a71f89d4dda30f318d837227911afdcf45636b91720a183
Contents?: true
Size: 404 Bytes
Versions: 13
Compression:
Stored size: 404 Bytes
Contents
describe("Material segment 'lighting'", function() { var matr; beforeEach(function() { matr = new Jax.Material(); spyOn(matr, 'prepareShader').andCallThrough(); }); it("should compile successfully", function() { matr.addLayer(new Jax.Material.Lighting()); new Jax.Mesh({material:matr}).render(SPEC_CONTEXT); expect(matr.prepareShader).toHaveBeenCalled(); }); });
Version data entries
13 entries across 13 versions & 1 rubygems