Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Dancer::Test and params() #962

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

tomhukins added some commits Sep 16, 2013

Warn if passed too many arguments
This helps people who mistakenly assume they can pass a source to param() as
permitted by params().
Document the "body" argument to dancer_response()
Despite what the documentation says, "body" can contain a hash reference as
well as a string.  See t/23_dancer_tests/02_tests_functions.t for an example
use.

@yanick yanick closed this in ec60c07 Sep 28, 2013

Contributor

yanick commented Sep 28, 2013

Merged. Thanks!

I've however didn't put in the param() check. As we don't do argument checking in the other functions, I just have to think a little longer on how we want to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment