docs(ngClass): fix e2e test for example

Broken by fd7bca22e1
This commit is contained in:
Pete Bacon Darwin 2013-11-14 14:20:31 +00:00
parent 4184ff8ff7
commit 977e2f55de

View file

@ -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/);
});