ASP4x-Router
view release on metacpan or search on metacpan
t/010-basic/020-rest-crud.t view on Meta::CPAN
is(
'/main/truck/create/' =>
$api->context->config->web->router->uri_for('CreatePage', { type => 'truck' }),
"Got router and uri_for(...) just fine."
);
EXTERNAL_ROUTES: {
ok( my $res = $api->ua->get('/foo/foo/'), "GET /foo/foo/" );
ok( $res->is_success, "/foo/foo/ was successful" );
like $res->content => qr(You have reached foo.asp), "content looks right";
};
( run in 0.457 second using v1.01-cache-2.11-cpan-64827b87656 )