This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/mirage/factories/users.js
2015-11-02 18:06:45 -07:00

8 lines
231 B
JavaScript

import Mirage, { faker } from 'ember-cli-mirage';
export default Mirage.Factory.extend({
name() { return faker.name.firstName() + ' ' + faker.name.lastName(); },
email: faker.internet.email,
role: 'R',
canEdit: false,
});