Commit | Line | Data |
---|---|---|
683d672b | 1 | #!perl |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | ||
6 | use FindBin; | |
7 | use lib "$FindBin::Bin/../lib"; | |
8 | ||
9 | use Test::More tests => 4; | |
10 | use Catalyst::Test 'TestApp'; | |
11 | ||
12 | ok( my $response = request('http://localhost/attributes/view'), | |
13 | 'get /attributes/view' ); | |
14 | ok( !$response->is_success, 'Response Unsuccessful' ); | |
15 | ||
16 | ok( $response = request('http://localhost/attributes/foo'), | |
17 | "get /attributes/foo" ); | |
18 | ||
19 | ok( $response->is_success, "Response OK" ); |