Fixed jsunit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
3ef4131533
commit
cee5be6ff2
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue