|
@@ -127,21 +127,6 @@ class Mustache_Test_Functional_MustacheSpecTest extends PHPUnit_Framework_TestCa
|
|
|
return $this->loadSpec('sections');
|
|
return $this->loadSpec('sections');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * @group inheritance
|
|
|
|
|
- * @dataProvider loadInheritanceSpec
|
|
|
|
|
- */
|
|
|
|
|
- public function testInheritanceSpec($desc, $source, $partials, $data, $expected)
|
|
|
|
|
- {
|
|
|
|
|
- $template = self::loadTemplate($source, $partials);
|
|
|
|
|
- $this->assertEquals($expected, $template->render($data), $desc);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- public function loadInheritanceSpec()
|
|
|
|
|
- {
|
|
|
|
|
- return $this->loadSpec('inheritance');
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* Data provider for the mustache spec test.
|
|
* Data provider for the mustache spec test.
|
|
|
*
|
|
*
|