cosimo/perl5-test-mock-apache2 — pull request #1 by sjn (2011-11-16 14:34:16+00:00)
Title: Add support for dir_config

Heya, cosimo

I've added some simple support for $r->dir_config(). The docs on this method are a bit of a mess, saying it's only available using Apache2::RequestUtil, but where it in fact is also (undocumented, afaik) available through Apache2::RequestRec. I can't see if any of those two modules have an isa() relationship though, so I've done the simple hack and just added the method to both.

I've also updated the docs (not happy with the api though), and added a fake constructor for the Apache2::RequestUtil mock object.

And I've fixed a warning coming from a setting in dzil.ini (you might want to upgrade Dist::Zilla if this breaks for you. :)

And finally, I've added some naïve tests for the new feature, and bumped the version to 0.03.

Hope you can push this to CPAN soon! ^^

- Salve