Skip to content

Commit

Permalink
a few more response tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 10, 2013
1 parent a30ece7 commit e6dbfb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/mojo/response.t
Expand Up @@ -913,6 +913,8 @@ is $full, $body, 'right content';
# Body helper
$res = Mojo::Message::Response->new;
$res->body('hi there!');
ok !$res->content->asset->is_file, 'stored in memory';
ok !$res->content->asset->auto_upgrade, 'no upgrade';
is $res->body, 'hi there!', 'right content';
$res->body('');
is $res->body, '', 'right content';
Expand Down

0 comments on commit e6dbfb3

Please sign in to comment.