diff options
author | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-15 19:18:35 +0200 |
---|---|---|
committer | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2014-10-15 19:18:35 +0200 |
commit | 8198e70f24e2645904471c19f514a4e0408f4d74 (patch) | |
tree | c9674a4743ac010ad5ae295538a4867a3b19e8c3 /apps/files | |
parent | 63145f57654447fd07659f8a0ec1f98bf59a4d34 (diff) | |
download | nextcloud-server-8198e70f24e2645904471c19f514a4e0408f4d74.tar.gz nextcloud-server-8198e70f24e2645904471c19f514a4e0408f4d74.zip |
Changed fileList.pageSize to function call
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/tests/js/filelistSpec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index 850977ed467..83cf1f428b2 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -815,7 +815,7 @@ describe('OCA.Files.FileList tests', function() { fileList.$fileList.on('fileActionsReady', handler); fileList._nextPage(); expect(handler.calledOnce).toEqual(true); - expect(handler.getCall(0).args[0].$files.length).toEqual(fileList.pageSize); + expect(handler.getCall(0).args[0].$files.length).toEqual(fileList.pageSize()); }); it('does not trigger "fileActionsReady" event after single add with silent argument', function() { var handler = sinon.stub(); |