Add test cases for pluralization/singularlization of quota.

Closes #2077
This commit is contained in:
mark_story 2013-10-15 17:48:26 -04:00
parent 8eb247528d
commit 5c8eb5c5a7

View file

@ -120,6 +120,7 @@ class InflectorTest extends CakeTestCase {
$this->assertEquals(Inflector::singularize('objectives'), 'objective');
$this->assertEquals(Inflector::singularize('archives'), 'archive');
$this->assertEquals(Inflector::singularize('briefs'), 'brief');
$this->assertEquals(Inflector::singularize('quotas'), 'quota');
$this->assertEquals(Inflector::singularize(''), '');
}
@ -181,6 +182,7 @@ class InflectorTest extends CakeTestCase {
$this->assertEquals(Inflector::pluralize('foot'), 'feet');
$this->assertEquals(Inflector::pluralize('objective'), 'objectives');
$this->assertEquals(Inflector::pluralize('brief'), 'briefs');
$this->assertEquals(Inflector::pluralize('quota'), 'quotas');
$this->assertEquals(Inflector::pluralize(''), '');
}