From fc2f188d4d8f06aab31979b293d95580e19cbdf1 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Wed, 7 Sep 2011 09:19:53 +0200 Subject: style(filter): Couple of missing spaces, semi-colons, add empty lines --- test/FiltersSpec.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/FiltersSpec.js b/test/FiltersSpec.js index 83d8aac0..672540c5 100644 --- a/test/FiltersSpec.js +++ b/test/FiltersSpec.js @@ -96,6 +96,7 @@ describe('filter', function() { dealoc(context); }); + it('should do basic currency filtering', function() { expect(currency(0)).toEqual('$0.00'); expect(html.hasClass('ng-format-negative')).toBeFalsy(); @@ -105,6 +106,7 @@ describe('filter', function() { expect(html.hasClass('ng-format-negative')).toBeFalsy(); }); + it('should return empty string for non-numbers', function() { expect(currency()).toBe(''); expect(html.hasClass('ng-format-negative')).toBeFalsy(); @@ -113,6 +115,7 @@ describe('filter', function() { }); }); + describe('number', function() { var context, number; -- cgit v1.2.3