summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobin Edwards <robin.ge@gmail.com>2013-03-01 14:11:09 +0000
committerRobin Edwards <robin.ge@gmail.com>2013-03-01 14:11:09 +0000
commit1ca0e22648a260f8d93839bd50cb8e0330f0238d (patch)
treef0371bc60f8df0f0c9172ef34b5624c64354a060
parentFix ws (diff)
downloadnet-riak-1ca0e22648a260f8d93839bd50cb8e0330f0238d.tar.gz
Fix test
Diffstat (limited to '')
-rw-r--r--t/25-2index.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/25-2index.t b/t/25-2index.t
index 0ccd1c0..0a77137 100644
--- a/t/25-2index.t
+++ b/t/25-2index.t
@@ -11,7 +11,7 @@ test_riak_rest {
     ok $obj->add_index('myindex_bin', 'value'), 'Secondary index created';
 
     ok $obj->store, 'Object with secondary index stored';
-    ok my $newobj->get('2ikey'), 'Object with secondary index retrieved';
+    ok my $newobj = $bucket->get('2ikey'), 'Object with secondary index retrieved'
     ok $newobj->remove_index('myindex_bin', 'value'), 'Secondary index removed';
     ok $newobj->store, "Object without secondary index saved";
 }