summaryrefslogtreecommitdiff
path: root/spec/frontend/lib/utils/text_utility_spec.js
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2019-04-11 21:14:02 -0500
committerPaul Slaughter <pslaughter@gitlab.com>2019-04-12 08:46:00 -0500
commite42ecb1c07690a606c1eabb4c5a6f56725c586b7 (patch)
tree7f91dfd66917f0e9d5726949b7c099fd139ac1bc /spec/frontend/lib/utils/text_utility_spec.js
parentc61fd077a42b1498dc82cc5fb17a0efcc9d758d5 (diff)
downloadgitlab-ce-e42ecb1c07690a606c1eabb4c5a6f56725c586b7.tar.gz
Remove slugify text utilityfe-remove-slugify
**Why?** This function was not being used and it's documentation was out of date.
Diffstat (limited to 'spec/frontend/lib/utils/text_utility_spec.js')
-rw-r--r--spec/frontend/lib/utils/text_utility_spec.js6
1 files changed, 0 insertions, 6 deletions
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');