@@ -892,7 +890,7 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
...
@@ -892,7 +890,7 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
expect(users.length).to.equal(1)
expect(users.length).to.equal(1)
expect(users[0].username).to.equal("Bob")
expect(users[0].username).to.equal("Bob")
self.sequelize.query('SELECT * FROM '+ident('ParanoidUsers')+' WHERE '+ident('deletedAt')+' IS NOT NULL ORDER BY '+ident('id'),null,{raw:true}).success(function(users){
self.sequelize.query('SELECT * FROM '+self.sequelize.queryInterface.QueryGenerator.quoteIdentifier('ParanoidUsers')+' WHERE '+self.sequelize.queryInterface.QueryGenerator.quoteIdentifier('deletedAt')+' IS NOT NULL ORDER BY '+self.sequelize.queryInterface.QueryGenerator.quoteIdentifier('id'),null,{raw:true}).success(function(users){
expect(users[0].username).to.equal("Peter")
expect(users[0].username).to.equal("Peter")
expect(users[1].username).to.equal("Paul")
expect(users[1].username).to.equal("Paul")
...
@@ -2011,14 +2009,12 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
...
@@ -2011,14 +2009,12 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
it('should not overwrite a specified deletedAt',function(done){
it('should not overwrite a specified deletedAt',function(done){