Browse Source

Prove that Address inflects correct in general

euromark 11 years ago
parent
commit
4127c62858
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/TestCase/Utility/InflectorTest.php

+ 2 - 0
tests/TestCase/Utility/InflectorTest.php

@@ -170,6 +170,7 @@ class InflectorTest extends TestCase {
 		$this->assertEquals(Inflector::singularize('body_curves'), 'body_curve');
 		$this->assertEquals(Inflector::singularize('metadata'), 'metadata');
 		$this->assertEquals(Inflector::singularize('files_metadata'), 'files_metadata');
+		$this->assertEquals(Inflector::singularize('addresses'), 'address');
 		$this->assertEquals(Inflector::singularize(''), '');
 	}
 
@@ -237,6 +238,7 @@ class InflectorTest extends TestCase {
 		$this->assertEquals(Inflector::pluralize('metadata'), 'metadata');
 		$this->assertEquals(Inflector::pluralize('files_metadata'), 'files_metadata');
 		$this->assertEquals(Inflector::pluralize('stadia'), 'stadia');
+		$this->assertEquals(Inflector::pluralize('Address'), 'Addresses');
 		$this->assertEquals(Inflector::pluralize(''), '');
 	}