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

Commit a5e67f74 by Sascha Depold

Merge branch 'master' into milestones/2.0.0

2 parents 1f720828 ba927c99
Showing with 10 additions and 2 deletions
......@@ -10,6 +10,8 @@ notifications:
- sascha@depold.com
hipchat:
- 40e8850aaba9854ac4c9963bd33f8b@253477
irc:
- "chat.freenode.net#sequelizejs"
env:
- DB=mysql DIALECT=mysql
......@@ -22,3 +24,8 @@ language: node_js
node_js:
- "0.8"
- "0.10"
branches:
only:
- master
- milestones/2.0.0
......@@ -276,8 +276,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!