working on the route class.

This commit is contained in:
Taylor Otwell
2012-01-18 12:44:00 -06:00
parent bfc04e283b
commit eb193c1d12
3 changed files with 3 additions and 6 deletions

View File

@@ -19,9 +19,10 @@ class RouteTest extends PHPUnit_Framework_TestCase {
{
$route = new Laravel\Routing\Route('GET /', array('handles' => array('GET /foo/bar')));
$this->assertFalse($route->handles('/'));
$this->assertFalse($route->handles('baz'));
$this->assertTrue($route->handles('foo/*'));
$this->assertTrue($route->handles('foo/bar'));
$this->assertFalse($route->handles('baz'));
$route = new Laravel\Routing\Route('GET /', array('handles' => array('GET /', 'GET /home')));