Commit | Line | Data |
74c89dea |
1 | use strict; |
2 | use warnings; |
2664a81b |
3 | use FindBin qw/$Bin/; |
b1ead5a2 |
4 | use lib "$Bin/../lib"; |
c98492ae |
5 | use Test::More tests => 1; |
74c89dea |
6 | use Carp (); |
74c89dea |
7 | |
8 | # Doing various silly things, like for example |
2664a81b |
9 | # use CGI qw/:standard/ in your conrtoller / app |
74c89dea |
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 | |
2664a81b |
16 | use Catalyst::Test 'TestAppWithMeta'; |
17 | |
18 | ok( request('/')->is_success ); |
74c89dea |
19 | |