Commit 5c03c1de by Taylor Otwell

added wildcard test to route test.

parent aa427bbd
......@@ -19,6 +19,7 @@ class RouteTest extends PHPUnit_Framework_TestCase {
{
$route = new Laravel\Routing\Route('GET /', array('handles' => array('foo/bar')));
$this->assertTrue($route->handles('foo/*'));
$this->assertTrue($route->handles('foo/bar'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment