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

Commit ba927c99 by Sascha Depold

formatting

1 parent 8e49eaa5
Showing with 9 additions and 8 deletions
...@@ -269,15 +269,16 @@ describe(Support.getTestDialectTeaser("DaoValidator"), function() { ...@@ -269,15 +269,16 @@ describe(Support.getTestDialectTeaser("DaoValidator"), function() {
}) })
User.sync({ force: true }).success(function() { User.sync({ force: true }).success(function() {
User.create({username: 'bob', email: 'hello@world.com'}).success(function(user) { User.create({ username: 'bob', email: 'hello@world.com' }).success(function(user) {
User.update({username: 'toni'}, {id: user.id}) User
.error(function(err) { console.log(err) }) .update({ username: 'toni' }, { id: user.id })
.success(function() { .error(function(err) { console.log(err) })
User.find(1).success(function(user) { .success(function() {
expect(user.username).to.equal('toni') User.find(1).success(function(user) {
done() expect(user.username).to.equal('toni')
done()
})
}) })
})
}) })
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!