Refreshing branch
[catagits/Catalyst-Runtime.git] / trunk / t / aggregate / meta_method_unneeded.t
CommitLineData
ceae39c5 1use strict;
2use warnings;
3use FindBin qw/$Bin/;
4use lib "$Bin/../lib";
5use Test::More tests => 1;
6use Test::Exception;
7use 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
17use Catalyst::Test 'TestAppWithMeta';
18
19ok( request('/')->is_success );
20