summaryrefslogtreecommitdiff
path: root/spec/javascripts/lib
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2018-01-19 09:38:34 +0000
committerPhil Hughes <me@iamphill.com>2018-01-19 09:38:34 +0000
commite79db43d2cf269beec700353e776e92b15ac9af9 (patch)
tree5e4a6ab9b4843c58288c670d5eabe7ff2f31fee1 /spec/javascripts/lib
parentdd633dc48f00f779755370e3849691dc776b5055 (diff)
downloadgitlab-ce-e79db43d2cf269beec700353e776e92b15ac9af9.tar.gz
WebIDE: Fix Commit bugs
Diffstat (limited to 'spec/javascripts/lib')
-rw-r--r--spec/javascripts/lib/utils/text_utility_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/lib/utils/text_utility_spec.js b/spec/javascripts/lib/utils/text_utility_spec.js
index 6f8dad6b835..69a23d7b2f3 100644
--- a/spec/javascripts/lib/utils/text_utility_spec.js
+++ b/spec/javascripts/lib/utils/text_utility_spec.js
@@ -63,13 +63,13 @@ describe('text_utility', () => {
});
});
- describe('stripeHtml', () => {
+ describe('stripHtml', () => {
it('replaces html tag with the default replacement', () => {
- expect(textUtils.stripeHtml('This is a text with <p>html</p>.')).toEqual('This is a text with html.');
+ expect(textUtils.stripHtml('This is a text with <p>html</p>.')).toEqual('This is a text with html.');
});
it('replaces html tags with the provided replacement', () => {
- expect(textUtils.stripeHtml('This is a text with <p>html</p>.', ' ')).toEqual('This is a text with html .');
+ expect(textUtils.stripHtml('This is a text with <p>html</p>.', ' ')).toEqual('This is a text with html .');
});
});
});