1672a18c8171a47b53471a2c82aa28d1b61a27c8
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_metaclass_compat_non_moose_controller.t
1 use strict;
2 use warnings;
3
4 use FindBin;
5 use lib "$FindBin::Bin/../lib";
6
7 use Test::More tests => 1;
8 use Test::Exception;
9 use TestAppNonMooseController;
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
16 lives_ok {
17     TestAppNonMooseController::ControllerBase->get_action_methods
18 } 'Base class->get_action_methods ok when sub class initialized first';
19