Skip to content

Commit

Permalink
added file upload test example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jun 28, 2012
1 parent 67e815f commit 752b455
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

3.01 2012-06-27
3.01 2012-06-28
- Improved documentation. (diegok, sri)

3.0 2012-06-25
Expand Down
3 changes: 3 additions & 0 deletions lib/Test/Mojo.pm
Expand Up @@ -692,6 +692,9 @@ arguments as L<Mojo::UserAgent/"post">.
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);
=head2 C<put_ok>
$t = $t->put_ok('/foo');
Expand Down

0 comments on commit 752b455

Please sign in to comment.