mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
eedcdf2f17
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
14 lines
419 B
JavaScript
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; }
|
|
});
|