aboutsummaryrefslogtreecommitdiffstats
path: root/src/filters.js
diff options
context:
space:
mode:
authorMisko Hevery2010-11-10 12:02:49 -0800
committerMisko Hevery2010-11-10 12:02:49 -0800
commit6b8ed42670039f53d2b20dc1079f742840f62ae9 (patch)
tree4fe8b80e2d3245a388921a05cbbb1c1f82744d76 /src/filters.js
parentc57df3dc776f8a35aaad35fc399960f0d7fee06d (diff)
downloadangular.js-6b8ed42670039f53d2b20dc1079f742840f62ae9.tar.bz2
Added Directives
Diffstat (limited to 'src/filters.js')
-rw-r--r--src/filters.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters.js b/src/filters.js
index 2fec3cd2..2f41d12c 100644
--- a/src/filters.js
+++ b/src/filters.js
@@ -23,8 +23,8 @@
it('should update', function(){
input('amount').enter('-1234');
expect(binding('amount | currency')).toBe('$-1,234.00');
- expect(element('span[ng\\:bind="amount | currency"]').attr('class')).
- toMatch(/ng-format-negative/);
+ expect(element('.doc-example-live .ng-binding').attr('className')).
+ toMatch(/ng-format-negative/);
});
*/
angularFilter.currency = function(amount){