var expect = require("expect.js");
var mocha = require("mocha");
var connectAssets = require("..");

describe("instance", function () {
  it("exposes the mincer environment", function () {
    var assets = connectAssets();

    expect(assets.environment).to.be.an("object");
  });

  it("allows you to call .bind()", function () {
    var assets = connectAssets();

    expect(assets.bind).to.be.a("function");
  });

  it("allows you to call .apply()", function () {
    var assets = connectAssets();

    expect(assets.apply).to.be.an("function");
  });
});

var expect = require("expect.js");
var mocha = require("mocha");
var connectAssets = require("..");

describe("instance", function () {
  it("exposes mincer to allow for registering engines", function () {
    expect(connectAssets.Mincer).to.be.an("object");
  });

  it("exposes the mincer environment", function () {
    var assets = connectAssets();

    expect(assets.environment).to.be.an("object");
  });

  it("allows you to call .bind()", function () {
    var assets = connectAssets();

    expect(assets.bind).to.be.a("function");
  });

  it("allows you to call .apply()", function () {
    var assets = connectAssets();

    expect(assets.apply).to.be.an("function");
  });
});

Add test to ensure mincer is exposed.
Add test to ensure mincer is exposed.

This will allow other modules to modify mincer before we use it — for example, to register an engine as mincer-babel does.
