diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-07-30 16:34:35 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-07-30 16:34:35 +0200 |
commit | 5699fff8893d38a3524013266a0b7e94be79bb31 (patch) | |
tree | ae72aa93fb2c37506cd3ee4216752b8f3b7a58ef /apps/files/tests/js/fileactionsSpec.js | |
parent | 22fd04eb4117e80341becce13190d5a8fcea98ca (diff) | |
parent | 009d1f3214f76cf1ae2318504449110104e159fb (diff) | |
download | nextcloud-server-5699fff8893d38a3524013266a0b7e94be79bb31.tar.gz nextcloud-server-5699fff8893d38a3524013266a0b7e94be79bb31.zip |
Merge pull request #17175 from owncloud/add-download-feedback
Add loading spinner to download icon
Diffstat (limited to 'apps/files/tests/js/fileactionsSpec.js')
-rw-r--r-- | apps/files/tests/js/fileactionsSpec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/tests/js/fileactionsSpec.js b/apps/files/tests/js/fileactionsSpec.js index 53fa8707674..e420ab828af 100644 --- a/apps/files/tests/js/fileactionsSpec.js +++ b/apps/files/tests/js/fileactionsSpec.js @@ -105,7 +105,7 @@ describe('OCA.Files.FileActions tests', function() { $tr.find('.action-download').click(); expect(redirectStub.calledOnce).toEqual(true); - expect(redirectStub.getCall(0).args[0]).toEqual( + expect(redirectStub.getCall(0).args[0]).toContain( OC.webroot + '/index.php/apps/files/ajax/download.php' + '?dir=%2Fsubdir&files=testName.txt'); @@ -129,7 +129,7 @@ describe('OCA.Files.FileActions tests', function() { $tr.find('.action-download').click(); expect(redirectStub.calledOnce).toEqual(true); - expect(redirectStub.getCall(0).args[0]).toEqual( + expect(redirectStub.getCall(0).args[0]).toContain( OC.webroot + '/index.php/apps/files/ajax/download.php' + '?dir=%2Fanotherpath%2Fthere&files=testName.txt' ); |