diff options
Diffstat (limited to 'test/directive/selectSpec.js')
| -rw-r--r-- | test/directive/selectSpec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/directive/selectSpec.js b/test/directive/selectSpec.js index c6cfa377..e374fbe1 100644 --- a/test/directive/selectSpec.js +++ b/test/directive/selectSpec.js @@ -55,7 +55,7 @@ describe('select', function() { scope.selection = 'c'; }); - expect(scope.form.select.$error.REQUIRED).toBeFalsy(); + expect(scope.form.select.$error.required).toBeFalsy(); expect(element).toBeValid(); expect(element).toBePristine(); @@ -63,7 +63,7 @@ describe('select', function() { scope.selection = ''; }); - expect(scope.form.select.$error.REQUIRED).toBeTruthy(); + expect(scope.form.select.$error.required).toBeTruthy(); expect(element).toBeInvalid(); expect(element).toBePristine(); expect(scope.log).toEqual(''); @@ -117,7 +117,7 @@ describe('select', function() { scope.selection = []; }); - expect(scope.form.select.$error.REQUIRED).toBeTruthy(); + expect(scope.form.select.$error.required).toBeTruthy(); expect(element).toBeInvalid(); expect(element).toBePristine(); |
