Permalink
Browse files

Typo in Dancer::Test's POD.

Thanks to @bor on IRC for reporting
  • Loading branch information...
1 parent 01d149a commit 67220045ac8dd9a2721a6efaa95ea774341b7dd5 @bigpresh bigpresh committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Dancer/Test.pm
View
@@ -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:

0 comments on commit 6722004

Please sign in to comment.