不要怂,就是干,撸起袖子干!

Commit 76b8c534 by sdepold

another spec

1 parent 45a70ac0
Showing with 9 additions and 1 deletions
...@@ -56,8 +56,16 @@ describe('Migrator', function() { ...@@ -56,8 +56,16 @@ describe('Migrator', function() {
}) })
}) })
it("returns all files to options.to if no options.from is defined", function() {
setup({ to: 20111123060700 })
//it("returns") Helpers.async(function(done) {
migrator.getUndoneMigrations(function(files) {
expect(files.length).toEqual(2)
done()
})
})
})
}) })
/* /*
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!