Skip to content
Permalink
Browse files

Added a use-case of using a blank replacement in the Slug test

  • Loading branch information...
davidyell committed Sep 30, 2015
1 parent f9f8e22 commit 05c9decd36de3bff2b54f863b3756afe9d73f77e
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/TestCase/Utility/InflectorTest.php
@@ -393,6 +393,10 @@ public function testSlug()
$result = Inflector::slug("non\xc2\xa0breaking\xc2\xa0space");
$this->assertEquals('non-breaking-space', $result);
$result = Inflector::slug('Foo Bar: Not just for breakfast any-more', '');
$expected = 'FooBarNotjustforbreakfastanymore';
$this->assertEquals($expected, $result);
}
/**

0 comments on commit 05c9dec

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