Fix the test description

This commit is contained in:
Raymond Feng 2013-08-19 10:35:52 -07:00
parent 0fd167a41d
commit 463bf69ffc
1 changed files with 2 additions and 2 deletions

View File

@ -291,11 +291,11 @@ describe('basic-querying', function() {
}); });
describe('destroyAll', function() { describe('destroyAll with where option', function() {
before(seed); before(seed);
it('should check whether record not exist', function(done) { it('should only delete instances that satisfy the where condition', function(done) {
User.destroyAll({name: 'John Lennon'}, function() { User.destroyAll({name: 'John Lennon'}, function() {
User.find({where: {name: 'John Lennon'}}, function(err, data) { User.find({where: {name: 'John Lennon'}}, function(err, data) {
should.not.exist(err); should.not.exist(err);