Helpers for testing Locomotive helpers with the Chai assertion library.
Fork from https://github.com/jaredhanson/chai-locomotive-helpers Jared Hanson ([email protected]) - http://www.jaredhanson.net/
$ npm install chai-locomotive-helpers
Use this plugin as you would all other Chai plugins:
var chai = require('chai');
chai.use(require('chai-locomotive-helpers'));
Once used, the chai.locomotive.helper
and chai.locomotive.dynamicHelper
functions will be available to set up test cases for Locomotive helpers.
$ npm install
$ npm test
Copyright (c) 2013 Jared Hanson <http://jaredhanson.net/>