Fix public link download button

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Tento commit je obsažen v:
Vincent Petry 2017-02-27 10:32:20 +01:00 odevzdal Morris Jobke
rodič 528a903a7b
revize 78ee125c34
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 9CE5ED29E7FCD38A

Zobrazit soubor

@ -125,6 +125,10 @@ describe('OCA.Sharing.PublicApp tests', function() {
expect(fileList.getAjaxUrl('test', {a:1, b:'x y'}))
.toEqual(OC.webroot + '/index.php/apps/files_sharing/ajax/test.php?a=1&b=x%20y&t=sh4tok');
});
it('returns correct download URL for downloading everything', function() {
expect(fileList.getDownloadUrl())
.toEqual(OC.webroot + '/index.php/s/sh4tok/download?path=%2Fsubdir');
});
});
describe('Upload Url', function() {
var fileList;