aboutsummaryrefslogtreecommitdiffstats
path: root/docs/spec
diff options
context:
space:
mode:
Diffstat (limited to 'docs/spec')
-rw-r--r--docs/spec/domSpec.js2
-rw-r--r--docs/spec/ngdocSpec.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/spec/domSpec.js b/docs/spec/domSpec.js
index a967645e..5175b91a 100644
--- a/docs/spec/domSpec.js
+++ b/docs/spec/domSpec.js
@@ -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>');
});
diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js
index 367f91b4..bc2bb2ee 100644
--- a/docs/spec/ngdocSpec.js
+++ b/docs/spec/ngdocSpec.js
@@ -528,7 +528,7 @@ describe('ngdoc', function() {
returns: {type: 'number', description: 'return desc'}
});
doc.html_usage_function(dom);
- expect(dom).toContain('some.name([a][, b], c)'); //TODO(i) the comma position here is lame
+ expect(dom).toContain('name([a][, b], c)'); //TODO(i) the comma position here is lame
expect(dom).toContain('param desc');
expect(dom).toContain('(optional="xxx")');
expect(dom).toContain('return desc');