var faker = require('faker');
var props = require('json-api-mock-server/lib/store/props');
var attr = props.attr;
var many = props.many;
var one = props.one;
var between = require('json-api-mock-server/lib/utils/between');
module.exports = {
name: attr('string', { defaultValue: function() { return faker.lorem.words(between(3, 7)); }}),
description: attr('string', { defaultValue: function() { return faker.lorem.sentences(between(3, 7)); }}),
baz: one('baz', { inverse: 'complex', defaultValue: true }),
foos: many('foo', { inverse: 'complex', defaultValue: 5 })
};
# |
Change |
User |
Description |
Committed |
|
#1
|
23539 |
jenbottom |
Adding the basic code for ember test appk, created with 'ember new' command |
|
|