Add lets add the new file shall we
[catagits/Catalyst-Runtime.git] / t / lib / TestApp / Action / TestMyAction.pm
diff --git a/t/lib/TestApp/Action/TestMyAction.pm b/t/lib/TestApp/Action/TestMyAction.pm
new file mode 100644 (file)
index 0000000..66bcdf9
--- /dev/null
@@ -0,0 +1,16 @@
+package TestApp::Action::TestMyAction;
+
+use strict;
+use warnings;
+
+use base qw/Catalyst::Action/;
+
+sub execute {
+    my $self = shift;
+    my ( $controller, $c, $test ) = @_;
+    $c->res->header( 'X-TestAppActionTestMyAction', 'MyAction works' );
+    $self->NEXT::execute(@_);
+}
+
+1;
+