summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js/shareSpec.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-03 21:42:24 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:05 +0200
commit39ff82f70796bff9d2f0321d03213ec3ea9b713f (patch)
treea4802f4a5136671c51a880a38907ea05d646ca9b /apps/files_sharing/tests/js/shareSpec.js
parente704899e2229428c7da1a247409794f7462ec34d (diff)
downloadnextcloud-server-39ff82f70796bff9d2f0321d03213ec3ea9b713f.tar.gz
nextcloud-server-39ff82f70796bff9d2f0321d03213ec3ea9b713f.zip
Use grid view in other file views too
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files_sharing/tests/js/shareSpec.js')
-rw-r--r--apps/files_sharing/tests/js/shareSpec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/tests/js/shareSpec.js b/apps/files_sharing/tests/js/shareSpec.js
index 554a3a82b34..39472fdeedb 100644
--- a/apps/files_sharing/tests/js/shareSpec.js
+++ b/apps/files_sharing/tests/js/shareSpec.js
@@ -28,7 +28,7 @@ describe('OCA.Sharing.Util tests', function() {
// dummy file list
var $div = $(
'<div id="listContainer">' +
- '<table id="filestable">' +
+ '<table id="filestable" class="list-container view-grid">' +
'<thead></thead>' +
'<tbody id="fileList"></tbody>' +
'</table>' +
@@ -510,8 +510,8 @@ describe('OCA.Sharing.Util tests', function() {
OCA.Sharing.Util.attach(fileList);
fileList.setFiles(testFiles);
});
- afterEach(function() {
- shareTabSpy.restore();
+ afterEach(function() {
+ shareTabSpy.restore();
});
it('updates fileInfoModel when shares changed', function() {