Ejemplo n.º 1
0
 /**
  * Checks path if setting already provides '/' at the end.
  */
 public function testGetWorkspacePathSetWithSlash()
 {
     Zend_Registry::get('Zend_Config')->merge(new Zend_Config(array('workspacePath' => APPLICATION_PATH . '/tests/workspace/')));
     $workspacePath = $this->config->getWorkspacePath();
     $this->assertEquals(APPLICATION_PATH . '/tests/workspace/', $workspacePath);
 }