Skip to content

Commit

Permalink
no need to assign application
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 20, 2013
1 parent ea0a28f commit 1c394f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/mojolicious/layouted_lite_app.t
Expand Up @@ -108,7 +108,7 @@ get '/data' => {data => 0};
my $t = Test::Mojo->new;

# "0" content reassignment
my $c = $t->app->controller_class->new(app => $t->app);
my $c = $t->app->controller_class->new;
$c->content(foo => '0');
is $c->content('foo'), '0', 'right content';
$c->content(foo => '1');
Expand Down

0 comments on commit 1c394f3

Please sign in to comment.