Skip to content

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

License

Notifications You must be signed in to change notification settings

cristinawithout/ember-cli-data-factory-guy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ember-cli-data-factory-guy

DEPRECATION NOTICE

ember-data-factory-guy is now an ember addon, so this package is deprecated.

For Ember Data 1.0.0-beta.16.1+ and Ember 1.11.0+, use ember-data-factory-guy v1.0.2 or higher.

To install ember-data-factory-guy as an addon check the documentation: FactoryGuy installation instructions.

====================================

The instructions below are how to use the deprecated 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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •