From 1ca0e22648a260f8d93839bd50cb8e0330f0238d Mon Sep 17 00:00:00 2001 From: Robin Edwards Date: Fri, 1 Mar 2013 14:11:09 +0000 Subject: Fix test --- t/25-2index.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- cgit 1.4.1