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:
parent
a828e7b12a
commit
3850221ae1
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue