[Catalyst-commits] r10891 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
dandv at dev.catalyst.perl.org
dandv at dev.catalyst.perl.org
Thu Jul 16 01:13:00 GMT 2009
Author: dandv
Date: 2009-07-16 01:12:59 +0000 (Thu, 16 Jul 2009)
New Revision: 10891
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm
Log:
Fixed POD links to get and request
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm 2009-07-15 21:41:11 UTC (rev 10890)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm 2009-07-16 01:12:59 UTC (rev 10891)
@@ -156,8 +156,8 @@
environment variable. This module also adds a few Catalyst-specific
testing methods as displayed in the method section.
-The L<get> and L<request> functions take either a URI or an L<HTTP::Request>
-object.
+The L<get|/"$content = get( ... )"> and L<request|/"$res = request( ... );">
+functions take either a URI or an L<HTTP::Request> object.
=head1 INLINE TESTS WILL NO LONGER WORK
@@ -187,7 +187,7 @@
Note that this method doesn't follow redirects, so to test for a
correctly redirecting page you'll need to use a combination of this
-method and the L<request> method below:
+method and the L<request|/"$res = request( ... );"> method below:
my $res = request('/'); # redirects to /y
warn $res->header('location');
@@ -208,7 +208,7 @@
=head2 ($res, $c) = ctx_request( ... );
-Works exactly like L<request>, except it also returns the Catalyst context object,
+Works exactly like L<request|/"$res = request( ... );">, except it also returns the Catalyst context object,
C<$c>. Note that this only works for local requests.
=head2 $res = Catalyst::Test::local_request( $AppClass, $url );
More information about the Catalyst-commits
mailing list