airborne
airborne copied to clipboard
RSpec driven API testing framework
https://github.com/ohler55/oj https://github.com/ohler55/oj/blob/master/pages/Rails.md Hello! I'm not sure if this will impact performance (```map``` and ```stringify_keys```) I'll leave it here. Maybe someone else have some thoughts
Hi guys, I was just wondering if there is a way to test for the absence of JSON using airborne? My particular use case centers around me testing whether or...
When testing a controller with the following code: post 'http://localhost:3000/api/v4/contacts/', { }, { 'params' => { user_id: '00055294-EE7E-4596-A868-BDD5A90BB51F', name: 'Paul Mulligan', address_1: '7320 15th Ave NW', city: 'Seattle', zip_code_5: '98117',...
Hi, how you can save the metadata required to build a report? Let's look at an example. There is an elementary case: ``` it 'auth with wrong parameters' do post...
This includes [`Rack::Response::Helpers`](https://github.com/rack/rack/blob/f3a108619037d7f1e51230a8437af8f23764eca7/lib/rack/response.rb#L110) methods in the Airborne responses. This enables the use of matchers like those commonly used with [`ActionDispatch::TestResponse`](https://github.com/rails/rails/blob/a63760cea7d858984f83549019297221f18ed574/actionpack/lib/action_dispatch/testing/test_response.rb). i.e. ``` ruby expect(response).to be_success expect(response).to be_redirect expect(response).to be_error #...
Given this api http://api.lbs.yandex.net/geolocation I need to post JSON body (example) json={ "common": { "version": "1.0", "api_key": "AAwkGkwBAAAA9muWLAMAKp9XjTBZtmOLeiBQJqHX6YEqNdUAAAAAAAAAAAAoEP1ZsBlcVFA_OpP55MK3Ek1r8A==" }, "gsm_cells": [ { "countrycode": 250, "operatorid": 99, "cellid": 42332, "lac": 36002,...
For some reason if API responds with a "[ ]" response, when it's supposed to give me a json response with multiple key/value pairs -> schema validation still passes. Please...
Sending requests to API endpoints that sends emails works, but the mail array `ActionMailer::Base.deliveries` is always empty. Tests executed without the `:test` delivery method actually send emails to my inbox.
Right now `airbone` has a bug which block file sending. Look at [this line](https://github.com/brooklynDev/airborne/blob/3cc4112ae3f2f64aa35b3c365bc67ee7c8a7d5cf/lib/airborne/rest_client_requester.rb#L10). As you can see this line always convert `body` `Hash` to string. In my case it...
Is there a way to trigger requests with digest auth?