added wildcard test to route test.

This commit is contained in:
Taylor Otwell 2012-01-18 11:26:08 -06:00
parent aa427bbd39
commit 5c03c1de56
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ public function testHandlesReturnsTrueWhenRouteHandlesTheGivenURI()
{
$route = new Laravel\Routing\Route('GET /', array('handles' => array('foo/bar')));
$this->assertTrue($route->handles('foo/*'));
$this->assertTrue($route->handles('foo/bar'));
}