aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-22 18:24:32 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-09-22 18:24:32 +0200
commit2ac953e6a8949259b54f700cd6f9bc7eb48aadd5 (patch)
treefe843598651fc68e12feb48489b657a0cf484e33 /apps/files/tests
parent91d9d45c6c55d5ee2f44567893cf96d034aaed1e (diff)
downloadnextcloud-server-2ac953e6a8949259b54f700cd6f9bc7eb48aadd5.tar.gz
nextcloud-server-2ac953e6a8949259b54f700cd6f9bc7eb48aadd5.zip
correct progress-icon to icon-loading-small
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/js/filelistSpec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js
index e1bc2a58b11..94b52b395e5 100644
--- a/apps/files/tests/js/filelistSpec.js
+++ b/apps/files/tests/js/filelistSpec.js
@@ -421,15 +421,15 @@ describe('OCA.Files.FileList tests', function() {
fileList.setFiles(testFiles);
doDelete();
- expect(fileList.findFileEl('One.txt').find('.progress-icon:not(.icon-delete)').length).toEqual(1);
- expect(fileList.findFileEl('Three.pdf').find('.icon-delete:not(.progress-icon)').length).toEqual(1);
+ expect(fileList.findFileEl('One.txt').find('.icon-loading-small:not(.icon-delete)').length).toEqual(1);
+ expect(fileList.findFileEl('Three.pdf').find('.icon-delete:not(.icon-loading-small)').length).toEqual(1);
});
it('shows spinner on all files when deleting all', function() {
fileList.setFiles(testFiles);
fileList.do_delete();
- expect(fileList.$fileList.find('tr .progress-icon:not(.icon-delete)').length).toEqual(4);
+ expect(fileList.$fileList.find('tr .icon-loading-small:not(.icon-delete)').length).toEqual(4);
});
it('updates summary when deleting last file', function() {
var $summary;