0.9.2 • Published 9 years ago

ember-cli-data-factory-guy v0.9.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

ember-cli-data-factory-guy

About

ember-cli-data-factory-guy is a wrapper around ember-data-factory-guy for ember-cli.

Install

To install, run:

  • npm install --save-dev ember-cli-data-factory-guy
  • ember g ember-cli-data-factory-guy to install ember-data-factory-guy as a bower package.

Usage

In your test files, use import FactoryGuy from 'factory-guy' to get the main FactoryGuy object. You'll need that object in order to create factories by calling FactoryGuy.define.

Use import { testMixin as FactoryGuyTestMixin } from 'factory-guy'; to get the test mixin, and then follow the FactoryGuyTestMixin usage instructions.