Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Load fixtures to database from fixtures directory.
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
test
.gitignore
.travis.yml
Gruntfile.coffee
LICENSE
README.md
package.json

README.md

symfio-contrib-fixtures

Load fixtures to database from fixtures directory.

Build Status Coverage Status Dependency Status NPM version

Usage

symfio = require "symfio"

container = symfio "example", __dirname

container.inject require "symfio-contrib-mongoose"
container.inject require "symfio-contrib-fixtures"

Dependencies

Configuration

fixturesDirectory

Default value is fixtures.

Services

fixture

Fixture loading helper. First argument is path to fixture file.

fixtures

Fixtures loading helper. First argument is path to directory with fixture files.

loadFixtures

Function used to load fixtures after all plugins is loaded.

Something went wrong with that request. Please try again.