summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs/shareSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/tests/specs/shareSpec.js')
-rw-r--r--core/js/tests/specs/shareSpec.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/js/tests/specs/shareSpec.js b/core/js/tests/specs/shareSpec.js
index 70c698c99a2..127582ace61 100644
--- a/core/js/tests/specs/shareSpec.js
+++ b/core/js/tests/specs/shareSpec.js
@@ -149,6 +149,13 @@ describe('OC.Share tests', function() {
checkIcon('filetypes/folder-external');
});
+ it('shows encrypted icon if encrypted folder', function() {
+ $file.attr('data-type', 'dir');
+ $file.attr('data-e2eencrypted', true);
+ OC.Share.markFileAsShared($file, false, false);
+
+ checkIcon('filetypes/folder-encrypted');
+ });
});
describe('displaying the recipients', function() {