public function testIsParsingGitVersion()
{
$version = $this->client->getVersion();
$this->assertNotEmpty($version);
}
public function testIsCreatingRepository()
{
$repository = $this->client->createRepository(self::$tmpdir . '/testrepo');
$fs = new Filesystem();
$fs->remove(self::$tmpdir . '/testrepo/.git/description');
$this->assertRegExp("/nothing to commit/", $repository->getClient()->run($repository, 'status'));
}
public function testIsCreatingBareRepository()
{
$repository = $this->client->createRepository(self::$tmpdir . '/testbare', true);
$this->assertInstanceOf('Gitter\Repository', $repository);
}
/**
* @expectedException RuntimeException
*/