From 3850221ae118f05df4fff9016606ad2572c0057f Mon Sep 17 00:00:00 2001 From: Daniel Calviño Sánchez Date: Mon, 19 Feb 2018 21:06:41 +0100 Subject: Do not render the breadcrumbs again in resize tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/files/tests/js/breadcrumbSpec.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'apps/files/tests') 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(); -- cgit v1.2.3