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
  • add /maintainers functions
File size: 373 bytes
Line 
1use strict;
2use warnings;
3use Test::More;
4use FindBin;
5require "$FindBin::Bin/xml.pl";
6
7BEGIN { use_ok 'Catalyst::Test', 'Sophie' }
8BEGIN { use_ok 'Sophie::Controller::Maintainers' }
9
10ok(
11    xmlrequest_ok('maintainers.byrpm', 'rpm'),
12    "XML maintainers.byrpm"
13);
14
15ok(
16    request('/maintainers/rpm?json=1')->is_success,
17    "/maintainers/rpm / JSON"
18);
19
20done_testing();
Note: See TracBrowser for help on using the repository browser.