public function testComposerCustomConfig()
 {
     $config = new Composer(TEST_ROOT);
     $config->setPath('cache', 'app/cache');
     $config->setPath('database', 'app/database');
     $config->setPath('config', 'app/config');
     $app = new Application(array('resources' => $config));
     $this->assertEquals(TEST_ROOT . "/vendor/bolt/bolt/app", $config->getPath("app"));
     $this->assertEquals(TEST_ROOT . "/vendor/bolt/bolt/app/extensions", $config->getPath("extensions"));
     $this->assertEquals("/bolt-public/", $config->getUrl("app"));
 }
 public function testComposerCustomConfig()
 {
     $config = new Composer(TEST_ROOT);
     $this->assertEquals('/bolt-public/', $config->getUrl('app'));
 }
 public function testComposerCustomConfig()
 {
     $config = new Composer($this->loader);
     $config->compat();
     $app = new Application(array('resources' => $config));
     $this->assertEquals("/bolt-public/", $config->getUrl("app"));
 }