Ejemplo n.º 1
0
 /**
  * Test destroy route.
  *
  * @return void
  */
 public function testDestroy()
 {
     Term::shouldReceive('delete')->once()->andReturn('foo');
     $this->call('DELETE', 'v1/terms/1');
     $this->assertRequestOk();
 }