add it block
This commit is contained in:
parent
fa3f36f2e9
commit
e3243d1430
1 changed files with 4 additions and 2 deletions
|
@ -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('<p class="emptyDesc">Edit the description... (supports markdown)</p>')
|
||||
it('renders placeholder message', function() {
|
||||
expect(textArea.prop('defaultProps').dangerouslySetInnerHTML.__html)
|
||||
.to.equal('<p class="emptyDesc">Edit the description... (supports markdown)</p>')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue