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