run(); expect($process->isSuccessful())->toBeTrue() ->and($process->getOutput())->toContain('./scripts/dev start') ->and($process->getOutput())->not->toContain('firewall up') ->and($process->getOutput())->not->toContain('firewall down') ->and($process->getOutput())->not->toContain('firewall-up') ->and($process->getOutput())->not->toContain('firewall-down'); }); it('does not wire the dev script to removed firewall CLI commands', function () { expect(file_exists(base_path('scripts/dev.sh')))->toBeFalse(); $script = file_get_contents(base_path('scripts/dev')); expect($script)->not->toContain('firewall allow') ->and($script)->not->toContain('firewall revoke'); });