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() {
|
describe('desc is not present', function() {
|
||||||
const textArea = render({ authorizedToEdit: true, desc: null })
|
const textArea = render({ authorizedToEdit: true, desc: null })
|
||||||
.find('.riek_desc')
|
.find('.riek_desc')
|
||||||
expect(textArea.prop('defaultProps').dangerouslySetInnerHTML.__html)
|
it('renders placeholder message', function() {
|
||||||
.to.equal('<p class="emptyDesc">Edit the description... (supports markdown)</p>')
|
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