From 4d6a6f64b0e2dd1b4c15a2e24caa213618a76b13 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 28 Jan 2015 23:43:08 -0500 Subject: [PATCH] slug is lowercase --- tests/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/user.js b/tests/user.js index 381c6f0a44..466379c6e8 100644 --- a/tests/user.js +++ b/tests/user.js @@ -174,7 +174,7 @@ describe('User', function() { describe('.delete()', function() { var uid; before(function(done) { - User.create({username: 'userToDelete', password: '123456', email: 'delete@me.com'}, function(err, newUid) { + User.create({username: 'usertodelete', password: '123456', email: 'delete@me.com'}, function(err, newUid) { assert.ifError(err); uid = newUid; done(); @@ -184,7 +184,7 @@ describe('User', function() { it('should delete a user account', function(done) { User.delete(uid, function(err) { assert.ifError(err); - User.exists('userToDelete', function(err, exists) { + User.exists('usertodelete', function(err, exists) { assert.ifError(err); assert.equal(exists, false); done();