Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
It's the Inflector test case jim
There's no need to put "Inflector" in the test method names
  • Loading branch information
AD7six committed Feb 9, 2015
1 parent 11c03e0 commit 19b6676
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/TestCase/Utility/InflectorTest.php
Expand Up @@ -255,11 +255,11 @@ public function testInflectingPlurals()
}

/**
* testInflectorSlug method
* testSlug method
*
* @return void
*/
public function testInflectorSlug()
public function testSlug()
{
$result = Inflector::slug('Foo Bar: Not just for breakfast any-more');
$expected = 'Foo-Bar-Not-just-for-breakfast-any-more';
Expand Down Expand Up @@ -326,7 +326,7 @@ public function testInflectorSlug()
*
* @return void
*/
public function testInflectorSlugCharList()
public function testSlugCharList()
{
foreach (self::$maps as $language => $list) {
foreach ($list as $from => $to) {
Expand All @@ -337,11 +337,11 @@ public function testInflectorSlugCharList()
}

/**
* testInflectorSlugWithMap method
* testSlugWithMap method
*
* @return void
*/
public function testInflectorSlugWithMap()
public function testSlugWithMap()
{
Inflector::rules('transliteration', ['r' => '1']);
$result = Inflector::slug('replace every r');
Expand All @@ -354,11 +354,11 @@ public function testInflectorSlugWithMap()
}

/**
* testInflectorSlugWithMapOverridingDefault method
* testSlugWithMapOverridingDefault method
*
* @return void
*/
public function testInflectorSlugWithMapOverridingDefault()
public function testSlugWithMapOverridingDefault()
{
Inflector::rules('transliteration', ['å' => 'aa', 'ø' => 'oe']);
$result = Inflector::slug('Testing æ ø å', '-');
Expand All @@ -367,11 +367,11 @@ public function testInflectorSlugWithMapOverridingDefault()
}

/**
* testInflectorUnderscore method
* testUnderscore method
*
* @return void
*/
public function testInflectorUnderscore()
public function testUnderscore()
{
$this->assertSame('test_thing', Inflector::underscore('TestThing'));
$this->assertSame('test_thing', Inflector::underscore('testThing'));
Expand Down

0 comments on commit 19b6676

Please sign in to comment.