aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/input.js
diff options
context:
space:
mode:
authorJulie2014-02-12 15:07:08 -0800
committerPeter Bacon Darwin2014-02-16 19:03:42 +0000
commit9565cca15b6d30aefb78bcec411dea4f7b305019 (patch)
tree1c0d58d7541b7d6fb96fb1d1d068d48eb0fca97a /src/ng/directive/input.js
parentcd508678cd9baffd2bc0c9e11ae724a7b2ff70bb (diff)
downloadangular.js-9565cca15b6d30aefb78bcec411dea4f7b305019.tar.bz2
chore(protractor tests): fix up e2e tests
Diffstat (limited to 'src/ng/directive/input.js')
-rw-r--r--src/ng/directive/input.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js
index 676c1692..0410b197 100644
--- a/src/ng/directive/input.js
+++ b/src/ng/directive/input.js
@@ -955,13 +955,13 @@ var VALID_CLASS = 'ng-valid',
<textarea ng-model="userContent"></textarea>
</form>
</file>
- <file name="protractorTest.js">
+ <file name="protractor.js" type="protractor">
it('should data-bind and become invalid', function() {
if (browser.params.browser = 'safari') {
// SafariDriver can't handle contenteditable.
return;
};
- var contentEditable = element(by.css('.doc-example-live [contenteditable]'));
+ var contentEditable = element(by.css('[contenteditable]'));
expect(contentEditable.getText()).toEqual('Change me!');