convert all uses of Test::Exception to Test::Fatal
[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 Carp ();
7
8 # Doing various silly things, like for example
9 # use CGI qw/:standard/ in your conrtoller / app
10 # will overwrite your meta method, therefore Catalyst
11 # can't depend on it being there correctly.
12
13 # This is/was demonstrated by Catalyst::Controller::WrapCGI
14 # and Catalyst::Plugin::Cache::Curried
15
16 use Catalyst::Test 'TestAppWithMeta';
17
18 ok( request('/')->is_success );
19