Extends
lithium\test\UnitSource
public function testInstallDocs() {
$this->skipIf(strpos(shell_exec('git --version'), 'git version') === false,
'Git is not installed.'
);
$message = "No internet connection established.";
$this->skipIf(!$this->_hasNetwork(), $message);
$this->library->path = $this->_testPath;
$result = $this->library->install('li3_docs');
$this->assertTrue($result);
$result = is_dir($this->_testPath . '/li3_docs');
$this->assertTrue($result);
$this->_cleanUp();
}