From ba7118c49b31eecbe341611397fb3cb217a5360f Mon Sep 17 00:00:00 2001 From: Ted Kulp Date: Wed, 22 Jan 2014 06:54:44 -0500 Subject: [PATCH 1/2] Fix user model test The user validation errors only fire if there is a provider set. These should probably check specially for "local". However, just giving the test object a provider is enough to get the validations to work and the tests to pass. --- test/mocha/user/model.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/mocha/user/model.js b/test/mocha/user/model.js index fada6580a0..a0806ab39c 100644 --- a/test/mocha/user/model.js +++ b/test/mocha/user/model.js @@ -18,13 +18,15 @@ describe('', function() { name: 'Full name', email: 'test@test.com', username: 'user', - password: 'password' + password: 'password', + provider: 'local' }); user2 = new User({ name: 'Full name', email: 'test@test.com', username: 'user', - password: 'password' + password: 'password', + provider: 'local' }); done(); From 94e556fd697d0c1679f59b5ae1c203bed04660e8 Mon Sep 17 00:00:00 2001 From: Ted Kulp Date: Wed, 22 Jan 2014 09:34:53 -0500 Subject: [PATCH 2/2] Bump angular to 1.2.9 to fix bower install from asking for user input --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 965c4aebef..1fd9a78823 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "mean", "version": "0.1.3", "dependencies": { - "angular": "1.2.8", + "angular": "1.2.9", "angular-resource": "latest", "angular-cookies": "latest", "angular-mocks": "latest",