Exemple #1
0
 public function testReturnsConfigAfterSettingIt()
 {
     \Slimdown\Slimdown::config(function ($c) {
         $c->set_location('blahblahblah');
     });
     $config = \Slimdown\Slimdown::config();
     $this->assertEquals('blahblahblah', $config->get_location());
 }
Exemple #2
0
 function setUp()
 {
     \Slimdown\Slimdown::config(function ($c) {
         $c->set_location(self::FIXTURES_DIR . '/test_pages');
     });
 }