UNPKG

water-orm

Version:

A monolith version of Standalone waterline ORM

26 lines (19 loc) 584 B
/* * Module dependencies */ var assert = require('assert'), bootstrapFn = require('./support/bootstrapFn'); describe('Migratable Interface', function() { describe('migrate: "safe"', function() { it('should have the proper migrate setting when bootstrapping', function() { assert.equal(Migratable.Safe.migrate, 'safe'); }); it('should have NOT have tables', function(done) { Migratable.Safe.describe(function(err, schema) { assert.ifError(err); assert(!schema); done(); }); }); }); });