aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-11-14 14:20:31 +0000
committerPete Bacon Darwin2013-11-14 14:20:31 +0000
commit977e2f55de7075b7dbfbab37e40a632bbaf0252f (patch)
treec009f2a83fc793765fa3c83a5685a01ee8dccee3
parent4184ff8ff78e1fc42e5e32b88536b079ac4fa9cf (diff)
downloadangular.js-977e2f55de7075b7dbfbab37e40a632bbaf0252f.tar.bz2
docs(ngClass): fix e2e test for example
Broken by fd7bca22e16b0ecbe1feaf49bab39d9a44b8df01
-rw-r--r--src/ng/directive/ngClass.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ng/directive/ngClass.js b/src/ng/directive/ngClass.js
index 96bd601d..a0d23a28 100644
--- a/src/ng/directive/ngClass.js
+++ b/src/ng/directive/ngClass.js
@@ -128,10 +128,10 @@ function classDirective(name, selector) {
expect(element('.doc-example-live p:first').prop('className')).not().toMatch(/bold/);
expect(element('.doc-example-live p:first').prop('className')).not().toMatch(/red/);
- input('bold').check();
+ input('important').check();
expect(element('.doc-example-live p:first').prop('className')).toMatch(/bold/);
- input('red').check();
+ input('error').check();
expect(element('.doc-example-live p:first').prop('className')).toMatch(/red/);
});