toContain('$this->showActionsColumn = $this->canUpdate;') ->and($view) ->toContain('@if ($showActionsColumn)') ->toContain('canGate="update"'); });