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

Commit a5e67f74 by Sascha Depold

Merge branch 'master' into milestones/2.0.0

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