Refactoring
This commit is contained in:
11
lib/composer/vendor/consolidation/robo/tests/cli/DeleteDirCept.php
vendored
Normal file
11
lib/composer/vendor/consolidation/robo/tests/cli/DeleteDirCept.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
$I = new CliGuy($scenario);
|
||||
$container = Robo\Robo::getContainer();
|
||||
|
||||
$I->wantTo('delete dir with DeleteDirTask');
|
||||
$I->amInPath(codecept_data_dir());
|
||||
$I->seeFileFound('robo.txt', 'sandbox');
|
||||
$I->taskDeleteDir(['sandbox/box'])
|
||||
->run();
|
||||
$I->dontSeeFileFound('box', 'sandbox');
|
||||
$I->dontSeeFileFound('robo.txt', 'sandbox');
|
||||
Reference in New Issue
Block a user