From e79db43d2cf269beec700353e776e92b15ac9af9 Mon Sep 17 00:00:00 2001 From: Tim Zallmann Date: Fri, 19 Jan 2018 09:38:34 +0000 Subject: WebIDE: Fix Commit bugs --- spec/javascripts/lib/utils/text_utility_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/javascripts/lib') 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

html

.')).toEqual('This is a text with html.'); + expect(textUtils.stripHtml('This is a text with

html

.')).toEqual('This is a text with html.'); }); it('replaces html tags with the provided replacement', () => { - expect(textUtils.stripeHtml('This is a text with

html

.', ' ')).toEqual('This is a text with html .'); + expect(textUtils.stripHtml('This is a text with

html

.', ' ')).toEqual('This is a text with html .'); }); }); }); -- cgit v1.2.1