test(ngModel): rename test to better reflect what is being tested

I meant to do this in before 92f05e5a59 landed, sorry u_u
This commit is contained in:
Caitlin Potter
2014-09-24 18:04:03 -04:00
parent 92f05e5a59
commit b9e899c8b2

View File

@@ -3718,7 +3718,7 @@ describe('input', function() {
expect(scope.form.alias.$error.required).toBeTruthy();
});
it('should not invalidate number if ng-required=false and model is undefined', function() {
it('should not invalidate number if ng-required=false and viewValue has not been committed', function() {
compileInput('<input type="number" ng-model="value" name="alias" ng-required="required">');
scope.$apply("required = false");