Skip to content

Commit

Permalink
fixed typo in test example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 28, 2012
1 parent 40732da commit abebf03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Lite.pm
Expand Up @@ -522,7 +522,7 @@ is fine though.
Authentication and code shared between multiple routes can be realized easily
with bridge routes generated by the C<under> statement. All following routes
are only evaluated if the C<under> callback returned a true value.
are only evaluated if the callback returned a true value.
use Mojolicious::Lite;
Expand Down
2 changes: 1 addition & 1 deletion lib/Test/Mojo.pm
Expand Up @@ -693,7 +693,7 @@ Submit a C<POST> form and check for transport errors, takes the exact same
arguments as L<Mojo::UserAgent/"post_form">.
# Test file upload
$t->post_form_ok('/uplaod' => {foo => {content => 'bar'}})->status_is(200);
$t->post_form_ok('/upload' => {foo => {content => 'bar'}})->status_is(200);
=head2 C<put_ok>
Expand Down

0 comments on commit abebf03

Please sign in to comment.