Skip to content
Permalink
Browse files

Prove that Address inflects correct in general

  • Loading branch information...
dereuromark committed Sep 22, 2014
1 parent f9be3ea commit 4127c62858b404ec291c18466773b9c789e89792
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/TestCase/Utility/InflectorTest.php
@@ -170,6 +170,7 @@ public function testInflectingSingulars() {
$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 @@ public function testInflectingPlurals() {
$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(''), '');
}

0 comments on commit 4127c62

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