kraih/mojo — Issue #274: Mojolicious::Guides::Growing test example uses deprecated function
Author: tardisx
Created: 2012-01-28 05:40:09+00:00
State: open

The example shows:

# Allow 302 redirect responses
my $t = Test::Mojo->new->max_redirects(1);

Presumably should be:

# Allow 302 redirect responses
my $t = Test::Mojo->new;
$t->ua->max_redirects(1);