Sha256: 183c903c61a221e5bfc664183b41232fad0777b9edbc7ccb72a5ed4b90b21756

Contents?: true

Size: 537 Bytes

Versions: 28

Compression:

Stored size: 537 Bytes

Contents

require 'spec_helper'

# do some basic smoke testing with the Zeebe::Client against a real Zeebe gateway port,
# the aim is not to test all possible procedures available via GRPC
describe Zeebe::Client do
  let(:client) do
    Zeebe::Client::GatewayProtocol::Gateway::Stub.new('localhost:26500', :this_channel_is_insecure)
  end

  it 'has topology' do
    topology = client.topology(Zeebe::Client::GatewayProtocol::TopologyRequest.new)
    expect(topology.clusterSize).to eq(1)
    expect(topology.replicationFactor).to eq(1)
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
zeebe-client-0.20.0 spec/integration/client_spec.rb
zeebe-client-0.19.0 spec/integration/client_spec.rb
zeebe-client-0.18.0 spec/integration/client_spec.rb
zeebe-client-0.17.0 spec/integration/client_spec.rb
zeebe-client-0.16.3 spec/integration/client_spec.rb
zeebe-client-0.16.2 spec/integration/client_spec.rb
zeebe-client-0.16.1 spec/integration/client_spec.rb
zeebe-client-0.16.0 spec/integration/client_spec.rb
zeebe-client-0.15.1 spec/integration/client_spec.rb
zeebe-client-0.15.0 spec/integration/client_spec.rb
zeebe-client-0.14.2 spec/integration/client_spec.rb
zeebe-client-0.14.1 spec/integration/client_spec.rb
zeebe-client-0.14.0 spec/integration/client_spec.rb
zeebe-client-0.13.2 spec/integration/client_spec.rb
zeebe-client-0.13.1 spec/integration/client_spec.rb
zeebe-client-0.13.0 spec/integration/client_spec.rb
zeebe-client-0.12.1 spec/integration/client_spec.rb
zeebe-client-0.12.0 spec/integration/client_spec.rb
zeebe-client-0.11.2 spec/integration/client_spec.rb
zeebe-client-0.11.1 spec/integration/client_spec.rb