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

Commit 4f26ef6a by Lachèze Alexandre

clean Boolean SQLite test for #149

1 parent d85d38ef
Showing with 1 additions and 2 deletions
...@@ -23,7 +23,6 @@ describe('DAOFactory', function() { ...@@ -23,7 +23,6 @@ describe('DAOFactory', function() {
age: Sequelize.INTEGER, age: Sequelize.INTEGER,
name: Sequelize.STRING, name: Sequelize.STRING,
bio: Sequelize.TEXT, bio: Sequelize.TEXT,
is_admin : Sequelize.BOOLEAN
}) })
Helpers.sync() Helpers.sync()
}) })
...@@ -41,7 +40,7 @@ describe('DAOFactory', function() { ...@@ -41,7 +40,7 @@ describe('DAOFactory', function() {
it('creates a table entry', function() { it('creates a table entry', function() {
Helpers.async(function(done) { Helpers.async(function(done) {
User User
.create({ age: 21, name: 'John Wayne', bio: 'noot noot'}) .create({ age: 21, name: 'John Wayne', bio: 'noot noot'} )
.success(done) .success(done)
.error(function(err) { console.log(err) }) .error(function(err) { console.log(err) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!