spec/unit/configuration/distributed_index_spec.rb in riddle-0.9.8.1533.10 vs spec/unit/configuration/distributed_index_spec.rb in riddle-1.0.0

- old
+ new

@@ -34,10 +34,11 @@ index.local_indexes << "test1" << "test1stemmed" index.remote_indexes << Riddle::Configuration::RemoteIndex.new("localhost", 3313, "remote1") << Riddle::Configuration::RemoteIndex.new("localhost", 3314, "remote2") << Riddle::Configuration::RemoteIndex.new("localhost", 3314, "remote3") + index.agent_blackhole << "testbox:3312:testindex1,testindex2" index.agent_connect_timeout = 1000 index.agent_query_timeout = 3000 index.render.should == <<-DISTINDEX @@ -46,9 +47,10 @@ type = distributed local = test1 local = test1stemmed agent = localhost:3313:remote1 agent = localhost:3314:remote2,remote3 + agent_blackhole = testbox:3312:testindex1,testindex2 agent_connect_timeout = 1000 agent_query_timeout = 3000 } DISTINDEX end \ No newline at end of file