6 if (eval 'require Moose; 1') {
10 plan skip_all => 'Moose is required for this test';
15 use lib "$FindBin::Bin/lib";
17 use Catalyst::Test 'TestApp';
20 my $response = request('http://localhost/moose/the_answer');
21 ok($response->is_success);
22 is($response->content, 'the meaning of life: 42', 'attr defaults + BUILD works correctly');