function setUp() { parent::setUp(); Haml::initialize(""); $this->create_post("event", 1); $event = Test\Event::take(); $event->set_meta("show_at_home", "0"); $event->set_meta("scheduled_on", "sunday"); $event->set_meta("hoge", "yes"); }
function setUp() { parent::setUp(); $this->create_post("event", 10); $this->create_post("info", 5); }