Index: trunk/Nebulous/t/59_client_delete.t
===================================================================
--- trunk/Nebulous/t/59_client_delete.t	(revision 18454)
+++ trunk/Nebulous/t/59_client_delete.t	(revision 18858)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 59_client_delete.t,v 1.1 2005-12-03 02:52:31 jhoblitt Exp $
+# $Id: 59_client_delete.t,v 1.2 2008-08-01 23:55:26 jhoblitt Exp $
 
 use strict;
@@ -10,5 +10,5 @@
 use Apache::Test qw( -withtestmore );
 
-plan tests => 7;
+plan tests => 9;
 
 use lib qw( ./t ./lib );
@@ -57,4 +57,19 @@
         proxy => "http://$hostport/nebulous",
     );
+    $neb->create( "neb://node01/foo" );
+
+    ok( $neb->delete( "neb://node02/foo" ), "delete object" );
+
+    my $locations = $neb->find_instances( "foo" );
+
+    is( $locations, undef, "no instances" );
+}
+
+Test::Nebulous->setup;
+
+{
+    my $neb = Nebulous::Client->new(
+        proxy => "http://$hostport/nebulous",
+    );
 
     is( $neb->delete( "foo" ), undef, "delete non-existant object" );
