Fix js test

This commit is contained in:
Roeland Jago Douma 2016-10-04 13:07:44 +02:00
parent 5ca50d9f31
commit c83b3e6bd5
No known key found for this signature in database
GPG key ID: 1E152838F164D13B

View file

@ -328,7 +328,7 @@ describe('OCA.Comments.CommentsTabView tests', function() {
var $formRow = view.$el.find('.newCommentRow.comment[data-id=1]');
expect($formRow.length).toEqual(1);
$formRow.find('input').val('modified message');
$formRow.find('textarea').val('modified message');
$formRow.find('form').submit();
expect(saveStub.calledOnce).toEqual(true);