diff --git a/cake/tests/cases/libs/inflector.test.php b/cake/tests/cases/libs/inflector.test.php index 2c293bb53..3823dbc72 100644 --- a/cake/tests/cases/libs/inflector.test.php +++ b/cake/tests/cases/libs/inflector.test.php @@ -109,6 +109,7 @@ class InflectorTest extends CakeTestCase { $this->assertEqual(Inflector::singularize('faxes'), 'fax'); $this->assertEqual(Inflector::singularize('waxes'), 'wax'); $this->assertEqual(Inflector::singularize('waves'), 'wave'); + $this->assertEqual(Inflector::singularize('bureaus'), 'bureau'); $this->assertEqual(Inflector::singularize(''), ''); } /** @@ -153,6 +154,7 @@ class InflectorTest extends CakeTestCase { $this->assertEqual(Inflector::pluralize('glove'), 'gloves'); $this->assertEqual(Inflector::pluralize('crisis'), 'crises'); $this->assertEqual(Inflector::pluralize('wave'), 'waves'); + $this->assertEqual(Inflector::pluralize('bureau'), 'bureaus'); $this->assertEqual(Inflector::pluralize(''), ''); } /** @@ -228,6 +230,7 @@ class InflectorTest extends CakeTestCase { $this->assertEqual(Inflector::classify('artists_genres'), 'ArtistsGenre'); $this->assertEqual(Inflector::classify('file_systems'), 'FileSystem'); $this->assertEqual(Inflector::classify('news'), 'News'); + $this->assertEqual(Inflector::classify('bureaus'), 'Bureau'); } /** * testTableNaming method @@ -239,6 +242,7 @@ class InflectorTest extends CakeTestCase { $this->assertEqual(Inflector::tableize('ArtistsGenre'), 'artists_genres'); $this->assertEqual(Inflector::tableize('FileSystem'), 'file_systems'); $this->assertEqual(Inflector::tableize('News'), 'news'); + $this->assertEqual(Inflector::tableize('Bureau'), 'bureaus'); } /** * testHumanization method