Fix js test
This commit is contained in:
parent
5ca50d9f31
commit
c83b3e6bd5
|
@ -328,7 +328,7 @@ describe('OCA.Comments.CommentsTabView tests', function() {
|
||||||
var $formRow = view.$el.find('.newCommentRow.comment[data-id=1]');
|
var $formRow = view.$el.find('.newCommentRow.comment[data-id=1]');
|
||||||
expect($formRow.length).toEqual(1);
|
expect($formRow.length).toEqual(1);
|
||||||
|
|
||||||
$formRow.find('input').val('modified message');
|
$formRow.find('textarea').val('modified message');
|
||||||
$formRow.find('form').submit();
|
$formRow.find('form').submit();
|
||||||
|
|
||||||
expect(saveStub.calledOnce).toEqual(true);
|
expect(saveStub.calledOnce).toEqual(true);
|
||||||
|
|
Loading…
Reference in New Issue