diff --git a/frontend/tests/unit/tests/work_packages/directives/inplace-editor-directive-test.js b/frontend/tests/unit/tests/work_packages/directives/inplace-editor-directive-test.js index c58ec96588..0deb52c0d6 100644 --- a/frontend/tests/unit/tests/work_packages/directives/inplace-editor-directive-test.js +++ b/frontend/tests/unit/tests/work_packages/directives/inplace-editor-directive-test.js @@ -100,6 +100,18 @@ describe('inplaceEditor Directive', function() { it('should not be editable', function() { expect(scope.isEditable).to.be.falsy; }); + + describe('placeholder', function() { + it('should not render the default text', function() { + var text = element.find('.ined-read-value .read-value-wrapper').text(); + + expect(text).be.empty; + }); + + it('should set default text switch', function() { + expect(elementScope.placeholderSet).to.be.false; + }); + }); }); describe('Work package is editable', function() {