mirror of
https://github.com/knex/knex.git
synced 2025-12-27 15:08:47 +00:00
Fixing seed tests
This commit is contained in:
parent
26e4135f7f
commit
cfdaa51427
@ -18,8 +18,8 @@ module.exports = function(knex) {
|
||||
describe('knex.seed.run', function() {
|
||||
it('should run all seed files in the configured seed directory', function() {
|
||||
return knex.seed.run({directory: 'test/integration/seed/test'}).then(function(data) {
|
||||
expect(data[0].name).to.equal('seed1.js');
|
||||
expect(data[1].name).to.equal('seed2.js');
|
||||
expect(path.basename(data[0])).to.equal('seed1.js');
|
||||
expect(path.basename(data[1])).to.equal('seed2.js');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user