Sha256: 9374c4c0e9657e7865fb4af798875ab15db1036ab9e66286b4f8e6fc14b1dfd4

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

def httparty_response(response_data)
  allow(response_data).to receive(:body).and_return response_data
  allow(response_data).to receive(:code).and_return 200
  allow(response_data).to receive(:parsed_response).and_return response_data
  response_data
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fizzy-api-0.1.0 spec/support/httparty_helpers.rb
fizzy-api-0.0.6 spec/support/httparty_helpers.rb