Sha256: 031ce80f6ae7ff65f514a87cb46f4cf2704fda1ae35857b1304b8c443c89612a

Contents?: true

Size: 126 Bytes

Versions: 28

Compression:

Stored size: 126 Bytes

Contents

def mock_response(overrides={})
  {:headers => {"content-type" => ["application/json"]}, :body => '{}'}.merge(overrides)
end

Version data entries

28 entries across 18 versions & 4 rubygems

Version Path
riak-client-1.4.5 spec/support/mocks.rb
riak-client-1.4.4.1 spec/support/mocks.rb
riak-client-1.4.4 spec/support/mocks.rb
riak-client-1.4.3 spec/support/mocks.rb
riak-client-1.4.2 spec/support/mocks.rb
riak-client-1.4.1 spec/support/mocks.rb
riak-client-1.4.0 spec/support/mocks.rb
riak-client-1.2.0 spec/support/mocks.rb
riak-client-1.1.1 spec/support/mocks.rb
riak-client-1.1.0 spec/support/mocks.rb
riak-client-1.0.5 spec/support/mocks.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/pkg/riak-client-1.0.1/spec/support/mocks.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/spec/support/mocks.rb
riak-client-1.0.3 spec/support/mocks.rb
riak-client-1.0.3 pkg/riak-client-1.0.1/pkg/riak-client-1.0.0/spec/support/mocks.rb
riak-client-1.0.3 pkg/riak-client-1.0.0/spec/support/mocks.rb
riak-client-1.0.3 pkg/riak-client-1.0.1/spec/support/mocks.rb
riak-client-1.0.3 pkg/riak-client-1.0.2/pkg/riak-client-1.0.0/spec/support/mocks.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/support/mocks.rb
riak-client-1.0.2 pkg/riak-client-1.0.0/spec/support/mocks.rb