Commit | Line | Data |
---|---|---|
2bb54af3 | 1 | #!/usr/bin/env perl |
2 | use strict; | |
3 | use warnings; | |
4 | ||
5 | use FindBin; | |
6 | use lib "$FindBin::Bin/lib"; | |
7 | ||
8 | use Test::More; | |
9 | ||
10 | eval { require Catalyst::Action::RenderView }; | |
11 | plan skip_all => 'Catalyst::Action::RenderView required' | |
12 | if $@; | |
13 | ||
14 | use Catalyst::Test 'RenderViewTestApp'; | |
15 | ||
16 | is get('/foo'), 'RenderViewTestApp::View::Test', 'view was reached via RenderView'; | |
17 | ||
18 | done_testing; |