projects
/
angular-drzb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cda8a1b
)
registration_date_time
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 20 Jan 2013 20:43:11 +0000
(21:43 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 20 Jan 2013 20:43:11 +0000
(21:43 +0100)
test/unit/filtersSpec.js
patch
|
blob
|
history
diff --git
a/test/unit/filtersSpec.js
b/test/unit/filtersSpec.js
index
19af329
..
f956ae1
100644
(file)
--- a/
test/unit/filtersSpec.js
+++ b/
test/unit/filtersSpec.js
@@
-16,4
+16,10
@@
describe('filter', function() {
expect(interpolateFilter('before %VERSION% after')).toEqual('before TEST_VER after');
}));
});
+
+ describe('registration_date_time', function() {
+ it('registration.timestamp to GMT ISO time', inject(function(registration_date_timeFilter) {
+ expect(registration_date_timeFilter('registration.135721386441722')).toEqual('2013-01-03 11:51:04');
+ }));
+ });
});