Files
icehrm/lib/composer/vendor/consolidation/robo/tests/cli/ExecCest.php
2017-09-03 20:39:22 +02:00

14 lines
332 B
PHP

<?php
class ExecCest
{
// tests
public function toExecLsCommand(CliGuy $I)
{
$command = strncasecmp(PHP_OS, 'WIN', 3) == 0 ? 'dir' : 'ls';
$res = $I->taskExec($command)->run();
verify($res->getMessage())->contains('src');
verify($res->getMessage())->contains('codeception.yml');
}
}