mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -05:00
Fix tests
This commit is contained in:
parent
1cc224dcf2
commit
8199ee741d
@ -60,6 +60,7 @@ define(function(require) {
|
||||
it('should fail to error creating user', function(done) {
|
||||
scope.form.$invalid = false;
|
||||
scope.betaCode = 'asfd';
|
||||
scope.phone = '12345';
|
||||
adminStub.createUser.yieldsAsync(new Error('asdf'));
|
||||
|
||||
scope.$apply = function() {
|
||||
@ -76,6 +77,7 @@ define(function(require) {
|
||||
it('should work', function(done) {
|
||||
scope.form.$invalid = false;
|
||||
scope.betaCode = 'asfd';
|
||||
scope.phone = '12345';
|
||||
adminStub.createUser.yieldsAsync();
|
||||
|
||||
scope.$apply = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user