From 5ad58ca812ca687c9e3fd50278dd4874b5a848ae Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Thu, 27 Nov 2014 14:38:48 +0300 Subject: [PATCH] yz_index => search_index --- test/2.0-specific/http-yokozuna-client-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/2.0-specific/http-yokozuna-client-test.js b/test/2.0-specific/http-yokozuna-client-test.js index 96a8c67..04890af 100644 --- a/test/2.0-specific/http-yokozuna-client-test.js +++ b/test/2.0-specific/http-yokozuna-client-test.js @@ -16,13 +16,13 @@ describe('http-client-solr-tests', function() { name_s: 'Testy Test for Riak Search' }; - db.saveBucket(bucket, {yz_index: "_dont_index_"}, function (err) { + db.saveBucket(bucket, {search_index: "_dont_index_"}, function (err) { setTimeout(function () { db.yokozuna.removeIndex(yzIndex, function (err) { setTimeout(function () { db.yokozuna.createIndex(yzIndex, function (err) { setTimeout(function () { - db.saveBucket(bucket, {yz_index: yzIndex}, function (err) { + db.saveBucket(bucket, {search_index: yzIndex}, function (err) { setTimeout(function () { db.save(bucket, 'test-search@gmail.com', obj, function (err, data, meta) { setTimeout(function () { @@ -54,7 +54,7 @@ describe('http-client-solr-tests', function() { }); it('saves the index bucket property', function (done) { - db.saveBucket(bucket, { yz_index: yzIndex }, function (err) { + db.saveBucket(bucket, { search_index: yzIndex }, function (err) { should.not.exist(err); done(); @@ -63,7 +63,7 @@ describe('http-client-solr-tests', function() { it('gets the index bucket property', function (done) { db.getBucket(bucket, function (err, props) { - props.yz_index.should.equal(yzIndex); + props.search_index.should.equal(yzIndex); done(); }); });