AcProjectsControllerTest::testIndexActionAllows PHP 메소드

testIndexActionAllows() 공개 메소드

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