Sha256: c929dee8ef6c509d8efc3e2c46eb8c48a660ac3a8122ee25a1e412c1b3cb6cf2

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

require 'spec_helper'
                  
describe Riak::Client::NetHTTPBackend do
  before :each do
    @client = Riak::Client.new(:http_backend => :NetHTTP)
    @backend = @client.http
    FakeWeb.allow_net_connect = false
  end

  def setup_http_mock(method, uri, options={})
    FakeWeb.register_uri(method, uri, options)
  end

  it_should_behave_like "HTTP backend"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seomoz-riak-client-1.0.0.pre spec/riak/net_http_backend_spec.rb