var faker = require('faker');
var props = require('json-api-mock-server/lib/store/props');
var attr = props.attr;
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)); }}),
complex: one('complex', { inverse: 'baz', defaultValue: false }),
heavyBaz: one('heavy-baz', { inverse: 'bazs', defaultValue: false })
};
# |
Change |
User |
Description |
Committed |
|
#1
|
23539 |
jenbottom |
Adding the basic code for ember test appk, created with 'ember new' command |
|
|