[Catalyst-commits] r9788 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
dandv at dev.catalyst.perl.org
dandv at dev.catalyst.perl.org
Wed Apr 22 02:46:25 GMT 2009
Author: dandv
Date: 2009-04-22 03:46:24 +0100 (Wed, 22 Apr 2009)
New Revision: 9788
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm
Log:
Fixed the POD to hyperlink to methods. No code changes.
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm 2009-04-21 23:44:23 UTC (rev 9787)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm 2009-04-22 02:46:24 UTC (rev 9788)
@@ -165,7 +165,7 @@
environment variable. This module also adds a few catalyst
specific testing methods as displayed in the method section.
-The </get> and </request> functions take either a URI or an L<HTTP::Request>
+The L<get> and L<request> functions take either a URI or an L<HTTP::Request>
object.
=head2 METHODS
@@ -189,7 +189,7 @@
=head2 $res = request( ... );
-Returns a C<HTTP::Response> object. Accepts an optional hashref for request
+Returns a L<HTTP::Response> object. Accepts an optional hashref for request
header configuration; currently only supports setting 'host' value.
my $res = request('foo/bar?test=1');
@@ -199,8 +199,8 @@
=head2 ($res, $c) = ctx_request( ... );
-Works exactly like C<Catalyst::Test::request>, except it also returns the
-catalyst context object, C<$c>. Note that this only works for local requests.
+Works exactly like L<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 );
@@ -301,23 +301,23 @@
=head2 action_ok
-Fetches the given url and check that the request was successful
+Fetches the given URL and check that the request was successful
=head2 action_redirect
-Fetches the given url and check that the request was a redirect
+Fetches the given URL and check that the request was a redirect
=head2 action_notfound
-Fetches the given url and check that the request was not found
+Fetches the given URL and check that the request was not found
=head2 content_like
-Fetches the given url and matches the content against it.
+Fetches the given URL and matches the content against it.
=head2 contenttype_is
-Check for given mime type
+Check for given MIME type
=head1 SEE ALSO
More information about the Catalyst-commits
mailing list