try an new ddata to prevent tests from stepping on each other

This commit is contained in:
Jason Calabrese
2016-06-08 07:44:20 -07:00
parent e3d1b58fdc
commit dad0e83c6e
+1
View File
@@ -17,6 +17,7 @@ describe('Treatment API', function ( ) {
self.app.enable('api');
require('../lib/bootevent')(self.env).boot(function booted(ctx) {
self.ctx = ctx;
self.ctx.ddata = require('../lib/data/ddata')();
self.app.use('/api', api(self.env, ctx));
done();
});