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 3b4f992e..c6cfa377 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();  | 
