Skip to content
Permalink
Browse files

Add tests to ensure #6538 is fixed

Make sure that 6538 is fixed on 3.0 as well.
  • Loading branch information...
markstory committed May 12, 2015
1 parent 2876210 commit 56085cd3384c80885d3cee3028007663816ff3b0
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/TestCase/Utility/InflectorTest.php
@@ -175,6 +175,7 @@ public function testInflectingSingulars()
$this->assertEquals('files_metadata', Inflector::singularize('files_metadata'));
$this->assertEquals('address', Inflector::singularize('addresses'));
$this->assertEquals('sieve', Inflector::singularize('sieves'));
$this->assertEquals('blue_octopus', Inflector::singularize('blue_octopuses'));
$this->assertEquals('', Inflector::singularize(''));
}
@@ -253,6 +254,7 @@ public function testInflectingPlurals()
$this->assertEquals('stadia', Inflector::pluralize('stadia'));
$this->assertEquals('Addresses', Inflector::pluralize('Address'));
$this->assertEquals('sieves', Inflector::pluralize('sieve'));
$this->assertEquals('blue_octopuses', Inflector::pluralize('blue_octopus'));
$this->assertEquals('', Inflector::pluralize(''));
}

0 comments on commit 56085cd

Please sign in to comment.
You can’t perform that action at this time.