[dancer-users] Problem with dancer_response Dancer2::Test
Jeff Boes
jeff at endpoint.com
Wed Jun 26 13:07:16 BST 2013
On 06/25/2013 04:51 PM, Jeff Boes wrote:
> My test scripts are failing after a call like this:
>
> my $response = dancer_response POST => '/private/affiliate/login.html', {
> params => { ... },
> };
>
> What's happening is that the response comes back with $response->status == 200, as expected, but $response->content
> comes back as an uninterpolated layout file:
>
> ...
> <body>
> <% content %>
Okay, mystery solved (I guess):
The <% %> syntax changed to [% %] while I wasn't looking ... sorry for making that error!
--
Jeff Boes <><
jeff at endpoint.com
269-408-0811
More information about the dancer-users
mailing list