mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-08 14:54:44 +00:00
parent
4184ff8ff7
commit
977e2f55de
1 changed files with 2 additions and 2 deletions
|
|
@ -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(/bold/);
|
||||||
expect(element('.doc-example-live p:first').prop('className')).not().toMatch(/red/);
|
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/);
|
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/);
|
expect(element('.doc-example-live p:first').prop('className')).toMatch(/red/);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue