mirror of
https://github.com/documize/community.git
synced 2025-07-31 02:59:44 +02:00
Add more tests and cleanup old ones
This commit is contained in:
parent
68271646eb
commit
c3c7a8450c
7 changed files with 75 additions and 62 deletions
|
@ -9,6 +9,33 @@
|
|||
//
|
||||
// https://documize.com
|
||||
|
||||
import { Factory } from 'ember-cli-mirage';
|
||||
import { Factory, faker } from 'ember-cli-mirage';
|
||||
|
||||
export default Factory.extend({});
|
||||
export default Factory.extend({
|
||||
"id": faker.list.cycle("VzMwX0w_3WrtFztd", "VzMvJEw_3WqiafcI", "VzMzBUw_3WrtFztv"),
|
||||
"created": "2016-05-11T13:15:11Z",
|
||||
"revised": "2016-05-11T13:22:16Z",
|
||||
"orgId": "VzMuyEw_3WqiafcD",
|
||||
"folderId": "VzMuyEw_3WqiafcG",
|
||||
"userId": "VzMuyEw_3WqiafcE",
|
||||
"job": faker.list.cycle("", "0bf9b076-cb74-4e8e-75be-8ee2d24a8171", "3004c449-b053-49a6-4abc-72688136184d"),
|
||||
"location": faker.list.cycle("template-0", "/var/folders/README.md", "/var/folders/d6/3004c449-b053-49a6-4abc-72688136184d/README.md"),
|
||||
"name": faker.list.cycle("Empty Document", "README", "README"),
|
||||
"excerpt": faker.list.cycle("My test document", "To Document/ Instructions. GO. go- bindata- assetsfs. SSL.", "To Document/ Instructions. GO. go- bindata- assetsfs. SSL."),
|
||||
"tags": "",
|
||||
"template": false
|
||||
});
|
||||
// return {
|
||||
// "id": "VzMzBUw_3WrtFztv",
|
||||
// "created": "2016-05-11T13:26:29Z",
|
||||
// "revised": "2016-05-11T13:26:29Z",
|
||||
// "orgId": "VzMuyEw_3WqiafcD",
|
||||
// "folderId": "VzMygEw_3WrtFzto",
|
||||
// "userId": "VzMuyEw_3WqiafcE",
|
||||
// "job": "3004c449-b053-49a6-4abc-72688136184d",
|
||||
// "location": "/var/folders/d6/kr81d2fs5bsbm8rz2p092fy80000gn/T/documize/_uploads/3004c449-b053-49a6-4abc-72688136184d/README.md",
|
||||
// "name": "README",
|
||||
// "excerpt": "To Document/ Instructions. GO. go- bindata- assetsfs. SSL.",
|
||||
// "tags": "",
|
||||
// "template": false
|
||||
// };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue