Sha256: 3519d4d0a7f44bd58628d94bc8fc69b83a58e6a83ce15dfed244d29323d6624e

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

def httparty_response(response_data)
  response = double('reponse')
  allow(response).to receive(:body).and_return response_data
  allow(response).to receive(:code).and_return 200
  allow(response).to receive(:parsed_response).and_return response_data
  response
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fizzy-api-0.1.4 spec/support/httparty_helpers.rb
fizzy-api-0.1.3 spec/support/httparty_helpers.rb
fizzy-api-0.1.2 spec/support/httparty_helpers.rb
fizzy-api-0.1.1 spec/support/httparty_helpers.rb