public function getConfigFilename() { if (!$this->Project()->exists()) { return ''; } if (!$this->Filename) { return ''; } return $this->DNData()->getEnvironmentDir() . '/' . $this->Project()->Name . '/' . $this->Filename; }
/** * */ public function testGetConfigFilename() { $expected = $this->envPath . '/testproject/uat.rb'; $this->assertEquals($expected, $this->env->getConfigFilename()); }