Sha256: 08dafc666b04c6ba52c5263208551fcba8f8ba9beb05d5528c4c6c0a88570237
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fizzy-api-0.1.5 | spec/support/httparty_helpers.rb |