summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-02-19 21:06:41 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-02-28 15:03:26 +0100
commit3850221ae118f05df4fff9016606ad2572c0057f (patch)
tree17e19b95ed42f0d77465daf7729773af6ddb7de1 /apps/files/tests
parenta828e7b12a157d4636f5659856f45982c9cc1621 (diff)
downloadnextcloud-server-3850221ae118f05df4fff9016606ad2572c0057f.tar.gz
nextcloud-server-3850221ae118f05df4fff9016606ad2572c0057f.zip
Do not render the breadcrumbs again in resize tests
There is no need to call "setDirectory" again in resize tests; it is enough to simply resize them (and isolates them better to just test the resizing behaviour). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/js/breadcrumbSpec.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files/tests/js/breadcrumbSpec.js b/apps/files/tests/js/breadcrumbSpec.js
index d30d9c48e24..9898c556cfd 100644
--- a/apps/files/tests/js/breadcrumbSpec.js
+++ b/apps/files/tests/js/breadcrumbSpec.js
@@ -315,9 +315,6 @@ describe('OCA.Files.BreadCrumb tests', function() {
// Menu is hidden
expect($crumbs.eq(0).hasClass('hidden')).toEqual(true);
- // triggers resize implicitly
- bc.setDirectory(dummyDir);
-
// simulate decrease
$('#controls').width(950);
bc._resize();