Fixed jsunit

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-03-08 10:31:33 +01:00
parent 3ef4131533
commit cee5be6ff2
No known key found for this signature in database
GPG key ID: FB5ACEED51955BF8

View file

@ -67,7 +67,8 @@ describe('OCA.Files.NewFileMenu', function() {
});
it('sets default text in field', function() {
expect($input.length).toEqual(1);
// text + submit
expect($input.length).toEqual(2);
expect($input.val()).toEqual('New folder');
});
it('prevents entering invalid file names', function() {