From 6b8ed42670039f53d2b20dc1079f742840f62ae9 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 10 Nov 2010 12:02:49 -0800 Subject: Added Directives --- src/filters.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/filters.js') 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){ -- cgit v1.2.3