Sha256: 0c4eefafa1d2cf0a9128627a985858aa0b0ecba8c7e2be98c8172b71546f497a

Contents?: true

Size: 143 Bytes

Versions: 21

Compression:

Stored size: 143 Bytes

Contents

class WebMock::RequestStub
  def to_return_json(hash, options = {})
    options[:body] = MultiJson.dump(hash)
    to_return(options)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spyke-1.8.4 test/support/webmock.rb
spyke-1.8.3 test/support/webmock.rb
spyke-1.8.2 test/support/webmock.rb
spyke-1.8.1 test/support/webmock.rb
spyke-1.8.0 test/support/webmock.rb
spyke-1.7.2 test/support/webmock.rb
spyke-1.7.1 test/support/webmock.rb
spyke-1.7.0 test/support/webmock.rb
spyke-1.6.0 test/support/webmock.rb
spyke-1.5.0 test/support/webmock.rb
spyke-1.4.1 test/support/webmock.rb
spyke-1.4.0 test/support/webmock.rb
spyke-1.3.0 test/support/webmock.rb
spyke-1.2.1 test/support/webmock.rb
spyke-1.2.0 test/support/webmock.rb
spyke-1.1.2 test/support/webmock.rb
spyke-1.1.1 test/support/webmock.rb
spyke-1.1.0 test/support/webmock.rb
spyke-1.0.2 test/support/webmock.rb
spyke-1.0.1 test/support/webmock.rb