Set up tests for existing pod
This commit is contained in:
parent
d59aa0e321
commit
35c53fc79b
5 changed files with 89 additions and 3 deletions
10
app/mirage/factories/characteristics.js
Normal file
10
app/mirage/factories/characteristics.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import Mirage, { faker } from 'ember-cli-mirage';
|
||||
|
||||
export default Mirage.Factory.extend({
|
||||
characteristicName() { return faker.lorem.words().join(' '); },
|
||||
characteristicTypeName() { return faker.lorem.words().join(' '); },
|
||||
strains: [],
|
||||
measurements: [],
|
||||
sortOrder: faker.random.number(),
|
||||
canEdit: faker.random.boolean(),
|
||||
});
|
Reference in a new issue