environment()->exportConfigData(); $this->assertEquals($this->homeDir(), $data['env']['cwd']); } function testDocsPath() { $docsPath = $this->environment()->docsPath(); $this->assertInternalType('string', $docsPath, 'A docsPath was found'); $this->assertFileExists("$docsPath/README.md", 'README.md exists at docsPath'); } function testDrushConfigFileFixturesExist() { $fixturesDir = $this->fixturesDir(); $this->assertFileExists("$fixturesDir/etc/drush/drush.yml", '/etc/drush/drush.yml exists'); $this->assertFileExists("$fixturesDir/home/.drush/drush.yml", '/home/.drush/drush.yml exists'); } }