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

Commit 94fd9b35 by sdepold

removed logging

1 parent 4952dca4
...@@ -79,7 +79,6 @@ describe('Migrator', function() { ...@@ -79,7 +79,6 @@ describe('Migrator', function() {
Helpers.async(function(done) { Helpers.async(function(done) {
migrator.getUndoneMigrations(function(err, migrations) { migrator.getUndoneMigrations(function(err, migrations) {
console.log(err)
expect(err).toBeNull() expect(err).toBeNull()
expect(migrations.length).toEqual(2) expect(migrations.length).toEqual(2)
done() done()
......
...@@ -77,8 +77,8 @@ describe('ModelFactory', function() { ...@@ -77,8 +77,8 @@ describe('ModelFactory', function() {
for(var i = 2; i <= 5; i++) Helpers.Factories.User({ age: i }) for(var i = 2; i <= 5; i++) Helpers.Factories.User({ age: i })
Helpers.async(function(done) { Helpers.async(function(done) {
User.max('age').on('success', function(min) { User.max('age').on('success', function(max) {
expect(min).toEqual(5); done() expect(max).toEqual(5); done()
}) })
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!