Commit | Line | Data |
c68a3c90 |
1 | use strict; |
2 | use warnings; |
2f5cb070 |
3 | |
c68a3c90 |
4 | use FindBin; |
b1ead5a2 |
5 | use lib "$FindBin::Bin/../lib"; |
2f5cb070 |
6 | |
7 | use Test::More tests => 1; |
8 | use Test::Exception; |
c68a3c90 |
9 | use 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 | |
16 | lives_ok { |
c68a3c90 |
17 | TestAppNonMooseController::ControllerBase->get_action_methods |
2f5cb070 |
18 | } 'Base class->get_action_methods ok when sub class initialized first'; |
19 | |