diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-08 10:31:33 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-08 10:31:33 +0100 |
commit | cee5be6ff262cf28af81a10c18e8cfd415b129aa (patch) | |
tree | 65fe7867ff6d3095989356906021c6aa96af2dba | |
parent | 3ef4131533f0fd2c06b05fd2e893d5c4f9720063 (diff) | |
download | nextcloud-server-cee5be6ff262cf28af81a10c18e8cfd415b129aa.tar.gz nextcloud-server-cee5be6ff262cf28af81a10c18e8cfd415b129aa.zip |
Fixed jsunit
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | apps/files/tests/js/newfilemenuSpec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/tests/js/newfilemenuSpec.js b/apps/files/tests/js/newfilemenuSpec.js index 20f617d24d6..af998c14916 100644 --- a/apps/files/tests/js/newfilemenuSpec.js +++ b/apps/files/tests/js/newfilemenuSpec.js @@ -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() { |