source: server/trunk/web/t/controller_Chat-Cmd.t @ 420

Last change on this file since 420 was 159, checked in by nanardon, 13 years ago
  • add Chat/findfile()
File size: 443 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::Chat::Cmd' }
9
10foreach (qw(version v packager p arch a buildfrom)) {
11    ok(
12        xmlrequest_ok("chat.cmd.$_", {}, "rpm"),
13        "XML::RPC chat.cmd.$_"
14    );
15}
16
17ok( xmlrequest_ok("chat.cmd.findfile", {}, "/bin/rpm"),
18    "XML::RPC chat.cmd.findfile"
19);
20
21done_testing();
Note: See TracBrowser for help on using the repository browser.