Home

Awesome

factory-girl-mongoose

A Mongoose adapter for factory-girl.

Build Status

Usage

var FactoryGirl = require('factory-girl');
var Factory = new FactoryGirl.Factory();
var MongooseAdapter = require('factory-girl-mongoose').MongooseAdapter;
Factory.setAdapter(MongooseAdapter);