Sha256: 0a521ad7711d7b41e56e5578fd65316ea5b2d8ade38d2d159248f65b5347f762

Contents?: true

Size: 497 Bytes

Versions: 14

Compression:

Stored size: 497 Bytes

Contents

require 'spec_helper'

describe "Protocol Buffers" do
  before do
    @pbc_port ||= $test_server.pb_port
    @client = Riak::Client.new(:pb_port => @pbc_port, :protocol => "pbc")
  end

  [:BeefcakeProtobuffsBackend].each do |klass|
    bklass = Riak::Client.const_get(klass)
    if bklass.configured?
      describe klass.to_s do
        before do
          @backend = bklass.new(@client, @client.node)
        end

        it_should_behave_like "Unified backend API"
      end
    end
  end
end

Version data entries

14 entries across 4 versions & 1 rubygems

Version Path
riak-client-1.0.5 spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.1/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/pkg/riak-client-1.0.0/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/pkg/riak-client-1.0.1/pkg/riak-client-1.0.0/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/pkg/riak-client-1.0.1/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.0/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.3 pkg/riak-client-1.0.1/pkg/riak-client-1.0.0/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.2 pkg/riak-client-1.0.1/pkg/riak-client-1.0.0/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.2 pkg/riak-client-1.0.1/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.2 spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.2 pkg/riak-client-1.0.0/spec/integration/riak/protobuffs_backends_spec.rb
riak-client-1.0.0 spec/integration/riak/protobuffs_backends_spec.rb