diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 13:05:16 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-02-21 13:05:16 +0300 |
commit | 532d43d52c24e8250c35095f587cbaf23992b9f2 (patch) | |
tree | 9e688f848b59032bfa4bb2a1f7b856d76535e924 /spec/javascripts/lib | |
parent | ee74f7b8e5a4a4bdc84a2d50bd34a7bfa6463a3f (diff) |
Remove convertPermissionToBoolean() from common_utils.js
Diffstat (limited to 'spec/javascripts/lib')
-rw-r--r-- | spec/javascripts/lib/utils/common_utils_spec.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/javascripts/lib/utils/common_utils_spec.js b/spec/javascripts/lib/utils/common_utils_spec.js index c02e37950f8..0bb43c94f6a 100644 --- a/spec/javascripts/lib/utils/common_utils_spec.js +++ b/spec/javascripts/lib/utils/common_utils_spec.js @@ -409,13 +409,6 @@ describe('common_utils', () => { }); }); - describe('convertPermissionToBoolean', () => { - it('should convert a boolean in a string to a boolean', () => { - expect(commonUtils.convertPermissionToBoolean('true')).toEqual(true); - expect(commonUtils.convertPermissionToBoolean('false')).toEqual(false); - }); - }); - describe('backOff', () => { beforeEach(() => { // shortcut our timeouts otherwise these tests will take a long time to finish |