jwerle/draft

2013-06-25 23:36:23
✓10.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓25.0
✓17.0
✓18.0
✓19.0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
2013-06-25 21:32:06
10.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓25.0
17.0
18.0
19.0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate # tests 15 # pass 15 # fail 0
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema not ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate [7]</Model/refresh/defineFromTree</</</<.value<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/1372192160074.86682085.js:1830 [6]</</</<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/1372192160074.86682085.js:1097 Runnable.prototype.run@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:5279 # tests 15 # pass 14 # fail 1
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema not ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate [7]</Model/refresh/defineFromTree</</</<.value<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/1372192160074.86682085.js:1830 [6]</</</<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/1372192160074.86682085.js:1097 Runnable.prototype.run@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4039 Runner.prototype.runTest@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4404 Runner.prototype.runTests/next/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4330 Runner.prototype.hooks/next/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4287 Runner.prototype.hook/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:5279 # tests 15 # pass 14 # fail 1
1..15 ok 1 draft draft(descriptor, options) Should accept an object as a descriptor and an object of options ok 2 draft Schema Should only accept a plain object or undefined as an argument Should accept a 'undefined' ok 3 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'null' ok 4 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'number' ok 5 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'boolean' ok 6 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'function' ok 7 draft Schema Should only accept a plain object or undefined as an argument Should not accept a 'date' ok 8 draft Schema Should only accept a plain object or undefined as an argument Should not accept a constructed object ok 9 draft Schema Should only accept a plain object or undefined as an argument Should accept a plain object ok 10 draft Schema Should define a tree instance after instantiation Should set the constructor on a property => type definition ok 11 draft Schema Should define a tree instance after instantiation Should set the constructor on a property who's type is set on an object descriptor ok 12 draft Schema Should define a tree instance after instantiation Should define child tree schema ok 13 draft Schema add Should accept a key and a descriptor object ok 14 draft Schema createModel Should create a Model constructor from the defined schema not ok 15 draft .createModel .createSchema Should be able to create models and schemas and allow later changes to propagate Model/refresh/defineFromTree</</</<.value<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/1372192160074.86682085.js:1830 @http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/1372192160074.86682085.js:1097 Runnable.run@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4039 Runner.runTest@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4404 Runner.runTests/next/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4450 next@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4330 Runner.hooks/next/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4339 next@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4287 Runner.hook/<@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:4307 timeslice@http://git.testling.com/work/jwerle/repos/dceb86b1fbc9fdd0a53f82f58074ff784f4fa425.1372192159521/node_modules/mocha/mocha.js:5279 # tests 15 # pass 14 # fail 1