Permalink
Browse files

Add test cases for pluralization/singularlization of quota.

Closes #2077
  • Loading branch information...
1 parent 8eb2475 commit 5c8eb5c5a730c07a6b57fc0fc904ab13aa7d2db3 @markstory markstory committed Oct 15, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Cake/Test/Case/Utility/InflectorTest.php
@@ -120,6 +120,7 @@ public function testInflectingSingulars() {
$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 @@ public function testInflectingPlurals() {
$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(''), '');
}

0 comments on commit 5c8eb5c

Please sign in to comment.