Fix the test as DAO now ignores undefined value for query

This commit is contained in:
Raymond Feng 2013-10-11 13:37:51 -07:00
parent 911c9f1e17
commit 757803f203
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ describe('User', function(){
assert.deepEqual(err, { name: 'ValidationError',
message: 'Validation error',
statusCode: 400,
codes: { email: [ 'presence', 'format.blank' ] },
codes: { email: [ 'presence', 'format.blank', 'uniqueness' ] },
context: 'user' });
done();