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