diff options
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r-- | web-ui/test/spec/helpers/view_helper.spec.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web-ui/test/spec/helpers/view_helper.spec.js b/web-ui/test/spec/helpers/view_helper.spec.js index b2f597c2..19bef15f 100644 --- a/web-ui/test/spec/helpers/view_helper.spec.js +++ b/web-ui/test/spec/helpers/view_helper.spec.js @@ -106,5 +106,11 @@ define(['helpers/view_helper'], function (viewHelper) { expect(window.setTimeout.calls.all()[0].args[1]).toEqual(1); }); + + describe('fingerprint helper', function () { + it('should format fingerprint', function () { + expect(viewHelper.formatFingerPrint('12345678')).toEqual('1234 5678'); + }); + }); }); }); |