Sha256: 952d1bf32c26908b9f14352e046da95baa42998e0c420e08b88ceade1cf0e3f2

Contents?: true

Size: 722 Bytes

Versions: 1

Compression:

Stored size: 722 Bytes

Contents

describe("Shader 'blob'", function() {
  var material, mesh;
  
    beforeEach(function() {
      mesh = new Jax.Mesh.Quad();
    });
  
    describe("stand-alone", function() {
      beforeEach(function() { mesh.material = new Jax.Material.Blob(); });
  
      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:"Blob"
        }]});
      });
  
      it("should render without error", function() {
        expect(function() { mesh.render(SPEC_CONTEXT); }).not.toThrow();
      });
    });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jax-0.0.0.9 spec/example_app/spec/javascripts/shaders/blob_spec.js