Make test suite load inline plugin
[catagits/Catalyst-Runtime.git] / t / lib / TestApp.pm
index a349b9a..f18228c 100644 (file)
@@ -5,6 +5,7 @@ use Catalyst qw/
     Test::Errors 
     Test::Headers 
     Test::Plugin
+    Test::Inline
     +TestApp::Plugin::FullyQualified
 /;
 use Catalyst::Utils;
@@ -88,4 +89,13 @@ sub recursion_test : Local {
     no warnings 'redefine';
     sub Catalyst::Log::error { }
 }
-1;
+
+# Make sure we can load Inline plugins. 
+
+package Catalyst::Plugin::Test::Inline;
+
+use strict;
+
+use base qw/Catalyst::Base Class::Data::Inheritable/;
+
+1;
\ No newline at end of file