Commit | Line | Data |
9d04b685 |
1 | package PluginTestApp::Controller::Root; |
2 | use Test::More; |
3 | |
4 | use base 'Catalyst::Controller'; |
5 | |
9d04b685 |
6 | __PACKAGE__->config->{namespace} = ''; |
7 | |
8 | sub compile_time_plugins : Local { |
9 | my ( $self, $c ) = @_; |
10 | |
c5611de9 |
11 | isa_ok $c->application, 'Catalyst::Plugin::Test::Plugin'; |
12 | isa_ok $c->application, 'TestApp::Plugin::FullyQualified'; |
9d04b685 |
13 | |
14 | can_ok $c, 'registered_plugins'; |
f8b392d8 |
15 | $c->application->_test_plugins; |
9d04b685 |
16 | |
17 | $c->res->body("ok"); |
18 | } |
19 | |
20 | 1; |