Permalink
Browse files

test defaults with AUTOLOAD

  • Loading branch information...
1 parent 988bed3 commit e5080c687db58dc2077bae65457a1567b426495b @kraih committed Mar 8, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 t/mojolicious/lite_app.t
View
@@ -455,6 +455,7 @@ my $t = Test::Mojo->new;
# Application is already available
is $t->app->test_helper2, 'Mojolicious::Controller', 'right class';
is $t->app->moniker, 'lite_app', 'right moniker';
+is $t->app->stash->{default}, 23, 'right value';
is $t->app, app->build_controller->app->commands->app,
'applications are equal';
is $t->app->build_controller->req->url, '', 'no URL';

0 comments on commit e5080c6

Please sign in to comment.