Last change
on this file since 374 was
226,
checked in by nanardon, 13 years ago
|
- another compatibility redirect
|
File size:
383 bytes
|
Line | |
---|
1 | use strict; |
---|
2 | use warnings; |
---|
3 | use Test::More; |
---|
4 | |
---|
5 | BEGIN { use_ok 'Catalyst::Test', 'Sophie' } |
---|
6 | BEGIN { use_ok 'Sophie::Controller::Compat' } |
---|
7 | |
---|
8 | ok( request('/viewrpm')->is_redirect, 'Request should succeed' ); |
---|
9 | ok( request('/viewrpm/azerty')->is_redirect, 'Request should succeed' ); |
---|
10 | ok( request('/distrib/Mandriva,cooker,i586/azerty')->is_redirect, 'Request should succeed' ); |
---|
11 | done_testing(); |
---|
Note: See
TracBrowser
for help on using the repository browser.