Compare commits

...
Author SHA1 Message Date
Graham Ollis 7cd976ea79 v1.41
- Additional testing diagnostics
2013-02-23 03:06:21 -05:00
Graham Ollis 1708622c49 testing diagnostics 2013-02-23 03:05:25 -05:00
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -2,6 +2,9 @@ Revision history for Mojolicious::Plugin::TtRenderer
{{$NEXT}}
1.41 February 23, 2013
- Additional testing diagnostics
1.40 February 20, 2013
- Added diagnostic for IO loop implementation in testing
+6 -3
View File
@@ -21,11 +21,14 @@ $t->get_ok('/')
->status_is(500)
->content_like(qr{foo});
$t->app->log->on(message => sub {
my($log, $level, @lines) = @_;
diag @lines if $level eq 'error';
});
$t->get_ok('/bar')
->status_is(200)
->content_like(qr{bar});
#note $t->tx->res->to_string;
->content_like(qr{sometimes, the bar,});
__DATA__