Exemplo n.º 1
0
 public function testGetCompiledJsURL()
 {
     $gcc = new GCCompiler($this->app['config']);
     $gcc->setFiles('file1.js');
     $this->assertContains('http://localhost/js-built/', $gcc->getCompiledJsURL());
     $this->app['config']->set('laravel-gcc::build_path', 'other-path');
     $this->assertContains('http://localhost/other-path/', $gcc->getCompiledJsURL());
 }