public function testIndexActionAllows()
{
$actionName = 'index';
$parentModel = $this->buildParentModel();
$model = $this->buildModel();
$this->assertCan($actionName, $this->modelName);
$this->action('GET', $this->controllerName . "@" . $actionName, [$parentModel->id]);
$this->assertViewHas('acTasks', $model->get());
}