aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
authorVojta Jina2011-06-07 22:53:05 +0200
committerIgor Minar2011-06-07 14:56:56 -0700
commit517ada2662019aae99af4bffb0e7fc673bbe9ebd (patch)
treea46105eb940329c2fc7eb3a0892782931dde01a5 /src/widgets.js
parent88ae9278574f2253742f443403da9cace494b997 (diff)
downloadangular.js-517ada2662019aae99af4bffb0e7fc673bbe9ebd.tar.bz2
Fix couple of failing e2e tests
The reason was recent change in docs url
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets.js b/src/widgets.js
index 2ccf4a1f..cc6d48b9 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -4,7 +4,7 @@
* @name angular.widget
* @description
*
- * Widgets are custom DOM elements. An angular widget can be either a custom
+ * Widgets are custom DOM elements. An angular widget can be either a custom
* attribute that modifies an existing DOM elements or an entirely new DOM element.
*
* Following is the list of built-in angular widgets:
@@ -642,8 +642,8 @@ angularWidget('option', function(){
<doc:example>
<doc:source>
<select name="url">
- <option value="angular.filter.date.html">date filter</option>
- <option value="angular.filter.html.html">html filter</option>
+ <option value="api/angular.filter.date.html">date filter</option>
+ <option value="api/angular.filter.html.html">html filter</option>
<option value="">(blank)</option>
</select>
<tt>url = <a href="{{url}}">{{url}}</a></tt>
@@ -655,7 +655,7 @@ angularWidget('option', function(){
expect(element('.doc-example-live ng\\:include').text()).toMatch(/angular\.filter\.date/);
});
it('should change to html filter', function(){
- select('url').option('angular.filter.html.html');
+ select('url').option('api/angular.filter.html.html');
expect(element('.doc-example-live ng\\:include').text()).toMatch(/angular\.filter\.html/);
});
it('should change to blank', function(){