diff options
Diffstat (limited to 'src/ng/directive/select.js')
| -rw-r--r-- | src/ng/directive/select.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/directive/select.js b/src/ng/directive/select.js index 0b01e612..faa9c7a7 100644 --- a/src/ng/directive/select.js +++ b/src/ng/directive/select.js @@ -72,8 +72,8 @@ var ngOptionsMinErr = minErr('ngOptions'); * `value` variable (e.g. `value.propertyName`). * * @example - <doc:example> - <doc:source> + <example> + <file name="index.html"> <script> function MyCntrl($scope) { $scope.colors = [ @@ -119,8 +119,8 @@ var ngOptionsMinErr = minErr('ngOptions'); ng-style="{'background-color':color.name}"> </div> </div> - </doc:source> - <doc:protractor> + </file> + </file name="protractor.js" type="protractor"> it('should check ng-options', function() { expect(element(by.binding('{selected_color:color}')).getText()).toMatch('red'); element.all(by.select('color')).first().click(); @@ -130,8 +130,8 @@ var ngOptionsMinErr = minErr('ngOptions'); element.all(by.css('.nullable select[ng-model="color"] option')).first().click(); expect(element(by.binding('{selected_color:color}')).getText()).toMatch('null'); }); - </doc:protractor> - </doc:example> + </file> + </example> */ var ngOptionsDirective = valueFn({ terminal: true }); |
