From 0cf55353330e652e1bbb60f1eefee2b59cc9e8f6 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 18 Jul 2011 10:42:42 -0700 Subject: doc(ng:view): fix broken template links in docs; add scenario test. --- src/widgets.js | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'src/widgets.js') diff --git a/src/widgets.js b/src/widgets.js index f6de5f96..47869535 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -1261,9 +1261,12 @@ angularWidget("@ng:non-bindable", noop);
- overview | bootstrap | undefined
+ overview | + bootstrap | + undefined + +
+ The view is included below:
+ it('should load templates', function(){ + element('.doc-example-live a:contains(overview)').click(); + expect(element('.doc-example-live ng\\:view').text()).toMatch(/Developer Guide: Overview/); + + element('.doc-example-live a:contains(bootstrap)').click(); + expect(element('.doc-example-live ng\\:view').text()).toMatch(/Developer Guide: Initializing Angular: Automatic Initiialization/); + }); */ -- cgit v1.2.3