Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import FactoryGuy from 'ember-data-factory-guy';
import faker from 'faker';
FactoryGuy.define('draft-registration', {
default: {
registrationSupplement: () => faker.lorem.words(1),
datetimeInitiated: () => faker.date.past(1),
datetimeUpdated: () => faker.date.recent(),
branchedFrom: FactoryGuy.belongsTo('node'),
initiator: FactoryGuy.belongsTo('user'),
registrationSchema: FactoryGuy.belongsTo('metaschema')
}
});