summaryrefslogtreecommitdiffstats
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-03-01 20:33:14 +0100
commit1da92fd5dad88889478c156e6cd73b9c8f09a6cd (patch)
tree44adb88addf7fe117faa85f1d7d641a7036751c6
parent2fd3fa20dffea0c601dce16a146e6bd4f73a5fb2 (diff)
downloadnextcloud-server-1da92fd5dad88889478c156e6cd73b9c8f09a6cd.tar.gz
nextcloud-server-1da92fd5dad88889478c156e6cd73b9c8f09a6cd.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>
-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();