diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-27 18:02:13 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-27 18:02:13 +0000 |
| commit | 189c183337cf3281056d313c4724536e450a46fd (patch) | |
| tree | 11e0a22dda0bcd3ecd4f5f306e72ee8813817887 /test/dbTests/testingDocs.txt | |
| parent | b19b2306723289e511efdbeae451612ab09bba6f (diff) | |
fixed tests to work again, added db connectivity, moved dbtests folder out so as not to interfere with mocha recursive search
Diffstat (limited to 'test/dbTests/testingDocs.txt')
| -rw-r--r-- | test/dbTests/testingDocs.txt | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/test/dbTests/testingDocs.txt b/test/dbTests/testingDocs.txt deleted file mode 100644 index cb1290b..0000000 --- a/test/dbTests/testingDocs.txt +++ /dev/null @@ -1,53 +0,0 @@ -CREDIT TO: -http://www.json-generator.com/ - -*************************************** -User template: - -[ - { - 'repeat(50, 50)': { - serial: '{{index(1)}}', - name: { - first: '{{firstName()}}', - last: '{{surname()}}' - }, - user_name: function () { - return ('username' + this.serial); - }, - password: '{{objectId()}}', - phone: '+1 {{phone()}}', - email: function () { - // Email tag is deprecated, because now you can produce an email as simple as this: - return (this.name.first + '.' + this.name.last + '@' + this.name.first + this.name.last + '.com'); - } - } - } -] - -*************************************** -Exam template: - -[ - { - 'repeat(50, 50)': { - id: '{{index(1)}}' - serial: '{{integer(300, 325)}}', - course_code: function () { - return ('CSC' + this.serial); - }, - year: '{{integer(2012,2016)}}', - term: '{{random("fall", "winter", "summer")}}', - type: '{{random("final", "midterm")}}', - instructors: ['{{firstName()}} {{surname()}}', - '{{firstName()}} {{surname()}}'], - page_count: '{{integer(10,20)}}', - questions_count: function () { - return (this.page_count); - }, - uploaded_by: 'admin0' - } - } -] - -*************************************
\ No newline at end of file |
