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

Commit ba927c99 by Sascha Depold

formatting

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