summaryrefslogtreecommitdiffstats
path: root/t/response.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/response.t
parentd5eab12edd13a722b557dcaf4fc5866a12d736d6 (diff)
downloadweb-request-69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5.tar.gz
web-request-69b58eba5bc8a01e27c74d6d2346738fdf9f8eb5.zip
rename ->body to ->content on ::Response
Diffstat (limited to 't/response.t')
-rw-r--r--t/response.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/response.t b/t/response.t
index a189c4d..eedf540 100644
--- a/t/response.t
+++ b/t/response.t
@@ -16,8 +16,8 @@ sub res {
is_deeply(
res(
- status => 200,
- body => 'hello',
+ status => 200,
+ content => 'hello',
),
[ 200, +[], [ 'hello' ] ]
);
@@ -38,7 +38,7 @@ is_deeply(
path => '/',
},
},
- body => 'hello',
+ content => 'hello',
),
[
200,