first go at upgrading docs
[catagits/Catalyst-Runtime.git] / t / aggregate / live_view_warnings.t
CommitLineData
9c74923d 1#!perl
2
3use strict;
4use warnings;
5
6use FindBin;
7use lib "$FindBin::Bin/../lib";
8
9use Test::More;
10use Catalyst::Test 'TestAppViewWarnings';
11
12if ( $ENV{CATALYST_SERVER} ) {
13 plan skip_all => 'Using remote server';
14}
15
16{
17 ok( my $response = request('http://localhost/'), 'Request' );
18 like($TestAppViewWarnings::log_messages[0], qr/Attempted to use view/s, 'View failure warning received');
19
20}
21
22done_testing;
23