public function testSaveDeleteFind() { $result = Tells::save(array('li' => 'the most rad php framework')); $this->assertTrue($result); Tells::delete('li'); Tells::reset(); $result = Tells::find('li'); $this->assertFalse($result); }
public function index() { $tells = Tells::find('all'); return compact('tells'); }