Sha256: 63620808a654d88c350c5c47c6a65cc4849fe956ab2d40acbe4b197fae695a3b

Contents?: true

Size: 486 Bytes

Versions: 2

Compression:

Stored size: 486 Bytes

Contents

require 'spec_helper'
require 'securerandom'

# Locking is not implemented in etcd v3.1.X
unless $instance.version < Gem::Version.new("3.2.0")
  describe Etcdv3::Watch do
    let(:stub) { local_stub(Etcdv3::Watch, 1) }
    let(:kv_stub) { local_stub(Etcdv3::KV, 1) }

    context 'xxx' do
      before(:each) do
        kv_stub.put 'foo', 'bar'
      end
      it_should_behave_like "a method with a GRPC timeout", described_class, :watch, :watch, 'foo', "\0", 1, nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
etcdv3-0.10.2 spec/etcdv3/watch_spec.rb
etcdv3-0.10.1 spec/etcdv3/watch_spec.rb