summaryrefslogtreecommitdiffstats
path: root/t/path_info.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-07-20 03:40:00 -0500
committerJesse Luehrs <doy@tozt.net>2012-07-20 03:43:27 -0500
commit69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5 (patch)
tree6b1b9ed4364259acab91e54194beb8db54ade5ab /t/path_info.t
parentd5eab12edd13a722b557dcaf4fc5866a12d736d6 (diff)
downloadweb-request-69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5.tar.gz
web-request-69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5.zip
rename ->body to ->content on ::Response
Diffstat (limited to 't/path_info.t')
-rw-r--r--t/path_info.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/path_info.t b/t/path_info.t
index bab50b9..d5cbbcc 100644
--- a/t/path_info.t
+++ b/t/path_info.t
@@ -12,7 +12,7 @@ my $path_app = sub {
my $req = Web::Request->new_from_env(shift);
my $res = $req->new_response(status => 200);
$res->content_type('text/plain');
- $res->body($req->path_info);
+ $res->content($req->path_info);
return $res->finalize;
};