diff options
| author | Igor Minar | 2010-10-16 21:14:46 -0700 | 
|---|---|---|
| committer | Igor Minar | 2010-10-16 21:31:23 -0700 | 
| commit | f8865459d554ef372cf732da26014dbe74275da8 (patch) | |
| tree | 4e76f1854da72ccdb8713044835087a7357e9373 /test/ApiSpecs.js | |
| parent | 312f93574e0d028e13933a342b726382479b421e (diff) | |
| download | angular.js-f8865459d554ef372cf732da26014dbe74275da8.tar.bz2 | |
adding an extra DateToUTC assertion
Diffstat (limited to 'test/ApiSpecs.js')
| -rw-r--r-- | test/ApiSpecs.js | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ApiSpecs.js b/test/ApiSpecs.js index d1f693a5..7e154206 100644 --- a/test/ApiSpecs.js +++ b/test/ApiSpecs.js @@ -186,6 +186,7 @@ describe('api', function(){      var date = new Date("Sep 10 2003 13:02:03 GMT");      assertEquals("date", angular.Object.typeOf(date));      assertEquals("2003-09-10T13:02:03Z", angular.Date.toString(date)); +    assertEquals(date.getTime(), angular.String.toDate(angular.Date.toString(date)).getTime());    });    it('StringFromUTC', function(){  | 
