X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Funit_load_catalyst_test.t;h=a3a3b376f0f81f79a16be0b2026b5e3357a07d91;hb=aa9e8261400e411d782e3ecde92b2bcab593c181;hp=b8ec6793b4f0330143e21d10bc297619695a6544;hpb=269194b4f9de3905430a2d1f21f68da13b2b9ed9;p=catagits%2FCatalyst-Runtime.git diff --git a/t/unit_load_catalyst_test.t b/t/unit_load_catalyst_test.t index b8ec679..a3a3b37 100644 --- a/t/unit_load_catalyst_test.t +++ b/t/unit_load_catalyst_test.t @@ -19,7 +19,7 @@ my $Url = 'http://localhost/'; my $Content = "root index"; my %Meth = ( - $Pkg => [qw|get request crequest|], # exported + $Pkg => [qw|get request ctx_request|], # exported $Class => [qw|local_request remote_request|], # not exported ); @@ -66,7 +66,7 @@ use_ok( $Class ); ### test exported methods again for my $meth ( @{ $Meth{$Pkg} } ) { SKIP: { - ### do a call, we should get a result and perhaps a $c if it's 'crequest'; + ### do a call, we should get a result and perhaps a $c if it's 'ctx_request'; my ($res, $c) = eval { $Pkg->can($meth)->( $Url ) }; ok( 1, " Called $Pkg->$meth( $Url )" ); @@ -78,8 +78,8 @@ use_ok( $Class ); is( $res_as_string, $Content, " Content as expected: $res_as_string" ); - ### some tests for 'crequest' - skip "Context tests skipped for '$meth'", 6 unless $meth eq 'crequest'; + ### some tests for 'ctx_request' + skip "Context tests skipped for '$meth'", 6 unless $meth eq 'ctx_request'; ok( $c, " Context object returned" ); isa_ok( $c, $App, " Object" );