Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Typo in Dancer::Test's POD.

Thanks to @bor on IRC for reporting
  • Loading branch information...
commit 67220045ac8dd9a2721a6efaa95ea774341b7dd5 1 parent 01d149a
@bigpresh bigpresh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Dancer/Test.pm
View
2  lib/Dancer/Test.pm
@@ -573,7 +573,7 @@ It's possible to test file uploads:
post '/upload' => sub { return upload('image')->content };
- $response = dancer_reponse(POST => '/upload', {files => [{name => 'image', filename => '/path/to/image.jpg'}]});
+ $response = dancer_response(POST => '/upload', {files => [{name => 'image', filename => '/path/to/image.jpg'}]});
In addition, you can supply the file contents as the C<data> key:
Please sign in to comment.
Something went wrong with that request. Please try again.