Skip to content

Commit

Permalink
Add test cases for pluralization/singularlization of quota.
Browse files Browse the repository at this point in the history
Closes #2077
  • Loading branch information
markstory committed Oct 15, 2013
1 parent 8eb2475 commit 5c8eb5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Test/Case/Utility/InflectorTest.php
Expand Up @@ -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(''), '');
}

Expand Down Expand Up @@ -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(''), '');
}

Expand Down

0 comments on commit 5c8eb5c

Please sign in to comment.