doc(AUTO, NG_MOCK): Documenting the AUTO and NG_MOCK module

This commit is contained in:
Misko Hevery
2011-11-09 21:18:34 -08:00
parent c283bf6035
commit f0fa5e6376
28 changed files with 625 additions and 204 deletions

View File

@@ -24,7 +24,7 @@ describe('dom', function() {
dom.h('heading', function() {
this.html('<h1>sub-heading</h1>');
});
expect(dom.toString()).toContain('<h1>heading</h1>');
expect(dom.toString()).toContain('<h1 id="heading">heading</h1>');
expect(dom.toString()).toContain('<h2>sub-heading</h2>');
});