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>
This commit is contained in:
Daniel Calviño Sánchez 2018-02-19 21:06:41 +01:00
parent 2fd3fa20df
commit 1da92fd5da
1 changed files with 0 additions and 3 deletions

View File

@ -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();