The default blueprint for ember-cli addons.
Last updated 5 years ago by fivetanley .
MIT · Original npm · Tarball · package.json
$ cnpm install ember-data-fixture-adapter 
SYNC missed versions from official npm registry.

Ember Data Fixture Adapter

Build Status

This addon contains the FixtureAdapter from Ember Data. The FixtureAdapter lets you find, store, modify, and delete records using an in-memory store.

The FixtureAdapter was removed from Ember Data core in May 2015 due to the lack of an interested maintainer and overall bugginess. We recommend you switch to using an AJAX stubbing library like Pretender.

This addon is currently not maintained by the Ember Data team. However, we will be happy to merge documentation fixes.


You can use it as an addon using ember install ember-data-fixture-adapter.

If you are using it in globals mode, you can use Ember Giftwrap to build it for your application.


You can define a FIXTURES array on your model with some data you would like available by default:

import DS from 'ember-data';

var Post = DS.Model.extend({
  title: DS.attr()

      id: 1,
      title: "Something something Basecamp"

export default Post;

Then, in your tests, set your app's application adapter to the FixtureAdapter:

// app/adapters/application.js
export { default } from 'ember-data-fixture-adapter';

Development Installation

  • git clone this repository
  • npm install
  • bower install


Running Tests

  • ember test
  • ember test --server


  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

Current Tags

  • 1.13.0                                ...           latest (5 years ago)

2 Versions

  • 1.13.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |