summaryrefslogtreecommitdiffstats
path: root/core/js/tests/specs
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-10-28 17:43:36 +0100
committerVincent Petry <pvince81@owncloud.com>2015-10-29 12:59:51 +0100
commit9c9158e6b78c69835cb7280810819fb2cd6f84f7 (patch)
tree8045f5e8fb80aa377c68d7ba7f0ac498b2475c72 /core/js/tests/specs
parent92e63a802c9324ccfcd716bb0461f5b7cc153549 (diff)
downloadnextcloud-server-9c9158e6b78c69835cb7280810819fb2cd6f84f7.tar.gz
nextcloud-server-9c9158e6b78c69835cb7280810819fb2cd6f84f7.zip
Fix icon update to be more consistent
Makes the details bar show the same icon as in the list.
Diffstat (limited to 'core/js/tests/specs')
-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 9e80f4fe19d..5c76ea600b8 100644
--- a/core/js/tests/specs/shareSpec.js
+++ b/core/js/tests/specs/shareSpec.js
@@ -142,6 +142,13 @@ describe('OC.Share tests', function() {
checkIcon('filetypes/folder-public');
});
+ it('shows external storage icon if external mount point', function() {
+ $file.attr('data-type', 'dir');
+ $file.attr('data-mountType', 'external');
+ OC.Share.markFileAsShared($file, false, false);
+
+ checkIcon('filetypes/folder-external');
+ });
});
describe('displaying the recipoients', function() {