X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_response.t;h=2380439abe90fe4aea250bc2c308aaabbdb56abc;hb=6e3dd95f237370a2824e5ecc1419eaed075f0279;hp=31e397a0603794479050ad0c706161bd692a3fcc;hpb=5d50f369bffa3625ca983b72fc8bc013c8a1e802;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_response.t b/t/aggregate/unit_response.t index 31e397a..2380439 100644 --- a/t/aggregate/unit_response.t +++ b/t/aggregate/unit_response.t @@ -1,8 +1,9 @@ use strict; use warnings; -use Test::More tests => 6; +use Test::More; use_ok('Catalyst::Response'); +use_ok('Catalyst::Engine'); my $res = Catalyst::Response->new; @@ -12,7 +13,5 @@ is($res->code, 500, 'code sets itself'); is($res->status, 500, 'code sets status'); $res->status(501); is($res->code, 501, 'status sets code'); -is($res->body, '', "default response body ''"); -$res->body(undef); -is($res->body, '', "response body '' after assigned undef"); +done_testing;