From e42ecb1c07690a606c1eabb4c5a6f56725c586b7 Mon Sep 17 00:00:00 2001 From: Paul Slaughter Date: Thu, 11 Apr 2019 21:14:02 -0500 Subject: Remove slugify text utility **Why?** This function was not being used and it's documentation was out of date. --- spec/frontend/lib/utils/text_utility_spec.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'spec/frontend/lib/utils') diff --git a/spec/frontend/lib/utils/text_utility_spec.js b/spec/frontend/lib/utils/text_utility_spec.js index 17fdbf606b2..a63631e09d2 100644 --- a/spec/frontend/lib/utils/text_utility_spec.js +++ b/spec/frontend/lib/utils/text_utility_spec.js @@ -49,12 +49,6 @@ describe('text_utility', () => { }); }); - describe('slugify', () => { - it('should remove accents and convert to lower case', () => { - expect(textUtils.slugify('João')).toEqual('joão'); - }); - }); - describe('capitalizeFirstCharacter', () => { it('returns string with first letter capitalized', () => { expect(textUtils.capitalizeFirstCharacter('gitlab')).toEqual('Gitlab'); -- cgit v1.2.1