log_in_as_admin(); $this->get_page("setup"); $this->set_field("_config_twitter_soc_username", "shish2k"); $this->click("Save Settings"); $this->get_page("post/list"); $this->assert_text("Tweets"); /* $this->assert_text("kittens"); // this is loaded with javascript */ $this->get_page("setup"); $this->set_field("_config_twitter_soc_username", ""); $this->click("Save Settings"); $this->get_page("post/list"); $this->assert_no_text("Tweets"); /* $this->assert_no_text("kittens"); */ $this->log_out(); } }