Sha256: a4094c9d28bd7fc51f9d23aca150fa6dd6274e8b602ffc7ce7b31453b192b492

Contents?: true

Size: 203 Bytes

Versions: 10

Compression:

Stored size: 203 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
roqua-core-api-0.4.0 spec/support/httpparty_helpers.rb
roqua-core-api-0.3.1 spec/support/httpparty_helpers.rb
roqua-core-api-0.3.0 spec/support/httpparty_helpers.rb
roqua-core-api-0.2.4 spec/support/httpparty_helpers.rb
roqua-core-api-0.2.3 spec/support/httpparty_helpers.rb
roqua-core-api-0.2.2 spec/support/httpparty_helpers.rb
roqua-core-api-0.2.1 spec/support/httpparty_helpers.rb
roqua-core-api-0.2.0 spec/support/httpparty_helpers.rb
roqua-core-api-0.1.1 spec/support/httpparty_helpers.rb
roqua-core-api-0.1.0 spec/support/httpparty_helpers.rb