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.0.2 pkg/riak-client-1.0.1/spec/support/mocks.rb
riak-client-1.0.2 spec/support/mocks.rb
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.0 spec/support/mocks.rb
seomoz-ripple-1.0.0.pre spec/support/mocks.rb
seomoz-riak-client-1.0.0.pre spec/support/mocks.rb
ripple-1.0.0.beta spec/support/mocks.rb
riak-client-1.0.0.beta spec/support/mocks.rb