added wildcard test to route test.
This commit is contained in:
@@ -19,6 +19,7 @@ class RouteTest extends PHPUnit_Framework_TestCase {
|
|||||||
{
|
{
|
||||||
$route = new Laravel\Routing\Route('GET /', array('handles' => array('foo/bar')));
|
$route = new Laravel\Routing\Route('GET /', array('handles' => array('foo/bar')));
|
||||||
|
|
||||||
|
$this->assertTrue($route->handles('foo/*'));
|
||||||
$this->assertTrue($route->handles('foo/bar'));
|
$this->assertTrue($route->handles('foo/bar'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user