adding Media to inflector tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5154 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-05-23 17:11:00 +00:00
parent 90022227b4
commit 34528b40ce

View file

@ -92,6 +92,10 @@ class InflectorTest extends UnitTestCase {
$result = $this->inflector->singularize('Alias');
$expected = 'Alias';
$this->assertEqual($result, $expected);
$result = $this->inflector->singularize('Media');
$expected = 'Media';
$this->assertEqual($result, $expected);
}
function testInflectingPlurals() {
@ -146,6 +150,10 @@ class InflectorTest extends UnitTestCase {
$result = $this->inflector->pluralize('Aliases');
$expected = 'Aliases';
$this->assertEqual($result, $expected);
$result = $this->inflector->pluralize('Media');
$expected = 'Media';
$this->assertEqual($result, $expected);
}
function tearDown() {