5 use Test::More tests => 2;
9 # Doing various silly things, like for example
10 # use CGI qw/:standard/ in your conrtoller / app
11 # will overwrite your meta method, therefore Catalyst
12 # can't depend on it being there correctly.
14 # This is/was demonstrated by Catalyst::Controller::WrapCGI
15 # and Catalyst::Plugin::Cache::Curried
18 package TestAppWithMeta;
20 no warnings 'redefine';
24 lives_ok { TestAppWithMeta->setup } 'Can setup an app which defines its own meta method';
27 use Catalyst::Test 'TestAppWithMeta';
29 ok( request('/')->is_success );