public function testDestroyActionAllows()
{
$actionName = 'destroy';
$model = $this->buildModel();
$this->assertCan($actionName, $this->modelName);
$this->action('DELETE', $this->controllerName . "@" . $actionName, [$model->id]);
$this->assertRedirectedToRoute($this->resourceName . '.index');
}