Ghost/ghost/admin/app/mirage/factories/setting.js
Kevin Ansfield eedcdf2f17 Set up ember-cli-mirage and update existing acceptance tests
refs #6039
- adds ember-cli-mirage dependency
- sets up mirage to match our API endpoints and responses
- adds fixture data for settings that are always present for all blogs
- converts existing acceptance tests to use mirage
2015-11-03 15:35:58 +00:00

14 lines
419 B
JavaScript

/* jscs:disable */
import Mirage from 'ember-cli-mirage';
export default Mirage.Factory.extend({
uuid(i) { return `setting-${i}`; },
key(i) { return `setting-${i}`; },
value() { return null; },
type() { return 'blog'; },
created_at() { return '2015-01-12T18:29:01.000Z'; },
created_by() { return 1; },
updated_at() { return '2015-10-27T17:39:58.288Z'; },
updated_by() { return 1; }
});