Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public function index()
 {
     $tells = Tells::find('all');
     return compact('tells');
 }