spec/client_spec.rb in redis_failover-0.8.2 vs spec/client_spec.rb in redis_failover-0.8.3
- old
+ new
@@ -90,10 +90,10 @@
expect { client.select }.to raise_error(UnsupportedOperationError)
end
it 'attempts ZK reconnect when no communication from Node Manager within certain time window' do
client.instance_variable_set(:@last_znode_timestamp, Time.at(0))
- client.should_receive(:reconnect_zk)
+ client.should_receive(:build_clients)
client.del('foo')
end
end
end
end