[Jifty-commit] r1538 - in jifty/trunk: t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Jul 11 23:59:24 EDT 2006
Author: srl
Date: Tue Jul 11 23:59:11 2006
New Revision: 1538
Modified:
jifty/trunk/ (props changed)
jifty/trunk/t/08-client.t
Log:
r5936 at lightning: srl | 2006-07-11 23:05:07 -0400
Added a few tests.
Modified: jifty/trunk/t/08-client.t
==============================================================================
--- jifty/trunk/t/08-client.t (original)
+++ jifty/trunk/t/08-client.t Tue Jul 11 23:59:11 2006
@@ -1,9 +1,19 @@
use warnings;
use strict;
-use Jifty::Test tests => 1;
+use Jifty::Test tests => 4;
use_ok ('Jifty::Client');
+my $server=Jifty::Test->make_server;
+isa_ok($server, 'Jifty::Server');
+
+my $URL = $server->started_ok;
+
+my $client = Jifty::Client->new;
+
+$client->get($URL);
+ok($client->success(), "Jifty client can connect to the server");
+
# XXX TODO need more tests to make sure that our client can connect
# and do meaningful operations with a Jifty server
\ No newline at end of file
More information about the Jifty-commit
mailing list