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)

') + }) }) })