aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/ngdoc.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/ngdoc.js')
-rw-r--r--docs/src/ngdoc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 61ac6f78..be4efb6b 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -534,9 +534,9 @@ Doc.prototype = {
function scenarios(docs){
var specs = [];
docs.forEach(function(doc){
- specs.push('describe("' + doc.id + '", function(){');
+ specs.push('describe("' + doc.section + '/' + doc.id + '", function(){');
specs.push(' beforeEach(function(){');
- specs.push(' browser().navigateTo("index.html#!' + doc.id + '");');
+ specs.push(' browser().navigateTo("index.html#!/' + doc.section + '/' + doc.id + '");');
specs.push(' });');
specs.push('');
doc.scenarios.forEach(function(scenario){