Allow for File and Image subclasses to be handled gracefully by the Thingy.

This commit is contained in:
Colin Kuskie 2011-01-02 12:57:54 -08:00
parent 648ea286ea
commit 3e0da41f0a
3 changed files with 38 additions and 12 deletions

View file

@ -436,7 +436,6 @@ $session->request->setup_body({
$session->user({userId => '3'});
$session->http->setStatus(200);
my $json = $thingy->www_editThingDataSaveViaAjax();
diag "json: ".$json;
is $json, '{}', 'www_editThingDataSaveViaAjax: Empty JSON hash';
is $session->http->getStatus, 200, '... http status=200';