Rename Mustache_Mustache to Mustache_Engine.

Because the former was just too absurd to keep typing.
This commit is contained in:
Justin Hileman
2012-05-01 21:30:22 -07:00
parent 1ffd7c1a8f
commit be5cfb3e9e
14 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
class Mustache_Test_Functional_CallTest extends PHPUnit_Framework_TestCase {
public function testCallEatsContext() {
$m = new Mustache_Mustache;
$m = new Mustache_Engine;
$tpl = $m->loadTemplate('{{# foo }}{{ label }}: {{ name }}{{/ foo }}');
$foo = new Mustache_Test_Functional_ClassWithCall();
@@ -26,7 +26,7 @@ class Mustache_Test_Functional_ExamplesTest extends PHPUnit_Framework_TestCase {
* @param string $expected
*/
public function testExamples($context, $source, $partials, $expected) {
$mustache = new Mustache_Mustache(array(
$mustache = new Mustache_Engine(array(
'partials' => $partials
));
$this->assertEquals($expected, $mustache->loadTemplate($source)->render($context));
@@ -18,7 +18,7 @@ class Mustache_Test_Functional_HigherOrderSectionsTest extends PHPUnit_Framework
private $mustache;
public function setUp() {
$this->mustache = new Mustache_Mustache;
$this->mustache = new Mustache_Engine;
}
public function testRuntimeSectionCallback() {
@@ -18,7 +18,7 @@ class Mustache_Test_Functional_MustacheInjectionTest extends PHPUnit_Framework_T
private $mustache;
public function setUp() {
$this->mustache = new Mustache_Mustache;
$this->mustache = new Mustache_Engine;
}
// interpolation
@@ -20,7 +20,7 @@ class Mustache_Test_Functional_MustacheSpecTest extends PHPUnit_Framework_TestCa
private static $mustache;
public static function setUpBeforeClass() {
self::$mustache = new Mustache_Mustache;
self::$mustache = new Mustache_Engine;
}
/**
@@ -17,7 +17,7 @@ class Mustache_Test_Functional_ObjectSectionTest extends PHPUnit_Framework_TestC
private $mustache;
public function setUp() {
$this->mustache = new Mustache_Mustache;
$this->mustache = new Mustache_Engine;
}
public function testBasicObject() {