aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/window.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/window.js')
-rw-r--r--src/ng/window.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/window.js b/src/ng/window.js
index 7702f29f..4f0717af 100644
--- a/src/ng/window.js
+++ b/src/ng/window.js
@@ -31,13 +31,13 @@
<button ng-click="doGreeting(greeting)">ALERT</button>
</div>
</doc:source>
- <doc:scenario>
+ <doc:protractor>
it('should display the greeting in the input box', function() {
- input('greeting').enter('Hello, E2E Tests');
+ element(by.model('greeting')).sendKeys('Hello, E2E Tests');
// If we click the button it will block the test runner
// element(':button').click();
});
- </doc:scenario>
+ </doc:protractor>
</doc:example>
*/
function $WindowProvider(){