public function testCanGetStubPath() { $iseed = new Orangehill\Iseed\Iseed(); $output = $iseed->getStubPath(); $expected = substr(__DIR__, 0, -5) . 'src/Orangehill/Iseed/Stubs'; $this->assertEquals($expected, $output); }
public function testCanGetStubPath() { $iseed = new Orangehill\Iseed\Iseed(); $output = $iseed->getStubPath(); $expected = substr(__DIR__, 0, -5) . 'src' . DIRECTORY_SEPARATOR . 'Orangehill' . DIRECTORY_SEPARATOR . 'Iseed' . DIRECTORY_SEPARATOR . 'Stubs'; $this->assertEquals($expected, $output); }