There is no "TT" view in the test app, so it falls back to
regex-matching and returns a random one, which may have the wrong
include_paths setting.
Revision history for Perl extension Catalyst::View::TT.
+ - Fix hash randomisation breakage in tests (RT#82703)
+
0.39 2012-04-11 07:40:00
- Fix warning from tests. RT#75104
- Fix ExtUtils::MakeMaker version requirement (due to last release
BEGIN { use_ok 'TestApp' or die }
-ok my $tt = TestApp->view('TT'), 'Get TT view object';
+ok my $tt = TestApp->view, 'Get TT view object';
is $tt->render(undef, 'test.tt', { message => 'hello' }), 'hello',
'render() should return the template output';