public function testEmptyHostAndSchemeOptionLocation()
{
Media::attach('app', array('absolute' => true));
Media::scope('app');
$result = Media::asset('/js/path/file', 'js', array('base' => '/app/base'));
$expected = 'http://localhost/app/base/js/path/file.js';
$this->assertEqual($expected, $result);
}