From: Florian Ragwitz Date: Sun, 2 May 2010 23:44:30 +0000 (+0000) Subject: Unbreak tests by actually adding the module they're supposed to test. X-Git-Tag: 5.80023~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=58541c41f8a186f0ede06ffb2e048639041f7f60 Unbreak tests by actually adding the module they're supposed to test. --- diff --git a/t/lib/TestApp/Plugin/ParameterizedRole.pm b/t/lib/TestApp/Plugin/ParameterizedRole.pm new file mode 100644 index 0000000..f02d454 --- /dev/null +++ b/t/lib/TestApp/Plugin/ParameterizedRole.pm @@ -0,0 +1,18 @@ +package TestApp::Plugin::ParameterizedRole; + +use MooseX::Role::Parameterized; +use namespace::autoclean; + +parameter method_name => ( + isa => 'Str', + required => 1, +); + +role { + my $p = shift; + my $method_name = $p->method_name; + + method $method_name => sub { 'birne' }; +}; + +1;