From e3243d1430b870ed647e7042e610c33aac7ac587 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Mon, 4 Dec 2017 21:58:10 -0800 Subject: [PATCH] add it block --- frontend/test/components/TopicCard/Desc.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/test/components/TopicCard/Desc.spec.js b/frontend/test/components/TopicCard/Desc.spec.js index 60c9edca..5bf8fe21 100644 --- a/frontend/test/components/TopicCard/Desc.spec.js +++ b/frontend/test/components/TopicCard/Desc.spec.js @@ -71,8 +71,10 @@ describe('TopicCard/Desc', function() { describe('desc is not present', function() { const textArea = render({ authorizedToEdit: true, desc: null }) .find('.riek_desc') - expect(textArea.prop('defaultProps').dangerouslySetInnerHTML.__html) - .to.equal('

Edit the description... (supports markdown)

') + it('renders placeholder message', function() { + expect(textArea.prop('defaultProps').dangerouslySetInnerHTML.__html) + .to.equal('

Edit the description... (supports markdown)

') + }) }) })