diff --git a/cake/tests/cases/libs/inflector.test.php b/cake/tests/cases/libs/inflector.test.php index 17cf8b4ba..c5208d45d 100644 --- a/cake/tests/cases/libs/inflector.test.php +++ b/cake/tests/cases/libs/inflector.test.php @@ -50,6 +50,10 @@ class InflectorTest extends UnitTestCase { $expected = 'menu'; $this->assertEqual($result, $expected); + $result = $this->Inflector->singularize('news'); + $expected = 'news'; + $this->assertEqual($result, $expected); + $result = $this->Inflector->singularize('food_menus'); $expected = 'food_menu'; $this->assertEqual($result, $expected); @@ -184,6 +188,10 @@ class InflectorTest extends UnitTestCase { $expected = 'menus'; $this->assertEqual($result, $expected); + $result = $this->Inflector->pluralize('news'); + $expected = 'news'; + $this->assertEqual($result, $expected); + $result = $this->Inflector->pluralize('food_menu'); $expected = 'food_menus'; $this->assertEqual($result, $expected);