Split test out into a more proper app, so that the test no longer relies on the metac...
[catagits/Catalyst-Runtime.git] / t / unit_metaclass_compat_non_moose_controller.t
CommitLineData
c68a3c90 1use strict;
2use warnings;
2f5cb070 3
c68a3c90 4use FindBin;
5use lib "$FindBin::Bin/lib";
2f5cb070 6
7use Test::More tests => 1;
8use Test::Exception;
c68a3c90 9use TestAppNonMooseController;
2f5cb070 10
11# Metaclass init order causes fail.
12# There are TODO tests in Moose for this, see
13# f2391d17574eff81d911b97be15ea51080500003
14# after which the evil kludge in core can die in a fire.
15
16lives_ok {
c68a3c90 17 TestAppNonMooseController::ControllerBase->get_action_methods
2f5cb070 18} 'Base class->get_action_methods ok when sub class initialized first';
19