source:
server/trunk/web/t/controller_Maintainers.t
@
454
Last change on this file since 454 was 164, checked in by nanardon, 13 years ago | |
---|---|
File size: 373 bytes |
Line | |
---|---|
1 | use strict; |
2 | use warnings; |
3 | use Test::More; |
4 | use FindBin; |
5 | require "$FindBin::Bin/xml.pl"; |
6 | |
7 | BEGIN { use_ok 'Catalyst::Test', 'Sophie' } |
8 | BEGIN { use_ok 'Sophie::Controller::Maintainers' } |
9 | |
10 | ok( |
11 | xmlrequest_ok('maintainers.byrpm', 'rpm'), |
12 | "XML maintainers.byrpm" |
13 | ); |
14 | |
15 | ok( |
16 | request('/maintainers/rpm?json=1')->is_success, |
17 | "/maintainers/rpm / JSON" |
18 | ); |
19 | |
20 | done_testing(); |
Note: See TracBrowser
for help on using the repository browser.