Sha256: b7115910891e27549121790fe55039d4562851cfc19f3add817bedd4a63c4e2a

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

shared_examples_for "all success return values" do
  it %[should have a return code of Zookeeper::ZOK] do
    expect(@rv[:rc]).to eq(Zookeeper::ZOK)
  end

  it %[should have a req_id integer] do
    expect(@rv[:req_id]).to be_kind_of(Integer)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zookeeper-1.5.5 spec/shared/all_success_return_values.rb
zookeeper-1.5.5-java spec/shared/all_success_return_values.rb
zookeeper-1.5.4 spec/shared/all_success_return_values.rb
zookeeper-1.5.4-java spec/shared/all_success_return_values.rb