aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-23 14:33:19 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-23 21:49:59 +0200
commitf4bc852db3376f5e602c1970fe76b8698e26f32e (patch)
tree1a8f4e3c8c7717752548b8f66f032bac325a6023 /apps/files_external/tests/js
parentf8f354b351a349898bbb5cdf2d9bee1c798c0f73 (diff)
downloadnextcloud-server-f4bc852db3376f5e602c1970fe76b8698e26f32e.tar.gz
nextcloud-server-f4bc852db3376f5e602c1970fe76b8698e26f32e.zip
Show hint if there is no delete permission
* add class .no-permission which shows the default delete icon * fixes #15172 * add unit test for no permission and for delete permission
Diffstat (limited to 'apps/files_external/tests/js')
-rw-r--r--apps/files_external/tests/js/mountsfilelistSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/tests/js/mountsfilelistSpec.js b/apps/files_external/tests/js/mountsfilelistSpec.js
index a4e4fec1177..c7ea819d2fe 100644
--- a/apps/files_external/tests/js/mountsfilelistSpec.js
+++ b/apps/files_external/tests/js/mountsfilelistSpec.js
@@ -128,7 +128,7 @@ describe('OCA.External.FileList tests', function() {
'?dir=/another%20mount%20points/sftp%20mount'
);
expect($tr.find('.nametext').text().trim()).toEqual('sftp mount');
- expect($tr.find('.column-scope').text().trim()).toEqual('System');
+ expect($tr.find('.column-scope > span').text().trim()).toEqual('System');
expect($tr.find('.column-backend').text().trim()).toEqual('SFTP');
$tr = $rows.eq(1);