Unbreak tests by actually adding the module they're supposed to test.
Florian Ragwitz [Sun, 2 May 2010 23:44:30 +0000 (23:44 +0000)]
t/lib/TestApp/Plugin/ParameterizedRole.pm [new file with mode: 0644]

diff --git a/t/lib/TestApp/Plugin/ParameterizedRole.pm b/t/lib/TestApp/Plugin/ParameterizedRole.pm
new file mode 100644 (file)
index 0000000..f02d454
--- /dev/null
@@ -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;