assertEquals('Homestead initialized!', $output); } /** @test */ public function it_creates_a_homestead_yaml_file() { exec('bash init.sh'); $this->assertFileExists(self::$testDirectory.'/Homestead.yaml'); } /** @test */ public function it_creates_a_homestead_json_file_if_requested() { exec('bash init.sh json'); $this->assertFileExists(self::$testDirectory.'/Homestead.json'); } /** @test */ public function it_creates_an_after_shell_script() { exec('bash init.sh'); $this->assertFileExists(self::$testDirectory.'/after.sh'); } /** @test */ public function it_creates_an_aliases_file() { exec('bash init.sh'); $this->assertFileExists(self::$testDirectory.'/aliases'); } }