spec/support/httparty_helpers.rb in fizzy-api-0.0.5 vs spec/support/httparty_helpers.rb in fizzy-api-0.0.6
- old
+ new
@@ -2 +1,2 @@
def httparty_response(response_data)
+ allow(response_data).to receive(:body).and_return response_data
allow(response_data).to receive(:code).and_return 200