Amranidev\ScaffoldInterface\Tests\BehavioralTest::testPaths PHP Method

testPaths() public method

Test Paths
public testPaths ( )
    public function testPaths()
    {
        //Model Path
        $this->assertEquals(app_path('Testable.php'), $this->path->modelPath());
        /*Views*/
        //Views Directory
        $this->assertEquals(base_path() . '/resources/views/testable', $this->path->dirPath());
        //Index
        $this->assertEquals(base_path() . '/resources/views/testable/index.blade.php', $this->path->indexPath());
        //Create
        $this->assertEquals(base_path() . '/resources/views/testable/create.blade.php', $this->path->createPath());
        //Edit
        $this->assertEquals(base_path() . '/resources/views/testable/edit.blade.php', $this->path->editPath());
        //Show
        $this->assertEquals(base_path() . '/resources/views/testable/show.blade.php', $this->path->showPath());
    }