mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-17 12:15:56 +08:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user