diff --git a/test/ng/directive/ngOptionsSpec.js b/test/ng/directive/ngOptionsSpec.js index 40cb245253d5..77c068bf630e 100644 --- a/test/ng/directive/ngOptionsSpec.js +++ b/test/ng/directive/ngOptionsSpec.js @@ -2029,7 +2029,9 @@ describe('ngOptions', function() { expect(option.text()).toBe('is blank'); }); - it('should support option without a value attribute', function() { + it('should be ignored when it has no value attribute', function() { + // The option value is set to the textContent if there's no value attribute, + // so in that case it doesn't count as a blank option createSingleSelect(''); scope.$apply(function() { scope.values = [{name: 'A'}, {name: 'B'}, {name: 'C'}];