f52a9b4bb63c10346646446abd61371db5f9ca9c
[catagits/Catalyst-Runtime.git] / t / aggregate / meta_method_unneeded.t
1 use strict;
2 use warnings;
3 use FindBin qw/$Bin/;
4 use lib "$Bin/../lib";
5 use Test::More tests => 1;
6 use Test::Exception;
7 use Carp ();
8
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.
13
14 # This is/was demonstrated by Catalyst::Controller::WrapCGI
15 # and Catalyst::Plugin::Cache::Curried
16
17 use Catalyst::Test 'TestAppWithMeta';
18
19 ok( request('/')->is_success );
20