Comments (1)
I think this might be a case where it's just better to default to regular rspec expect
. I don't think we need to add anything to airborne
for this. So in your case it would be something like:
it "returns expected json" do
delete :destroy, id: @location_1.id
expect(body).to eq('')
end
from airborne.
Related Issues (20)
- GET from test environment HOT 1
- How to set verify_ssl => false HOT 4
- Faraday Response support HOT 1
- Potential incompatibility with RSpec 3.5.4 HOT 7
- Routing error with post action
- Ruby 2.4 warnings HOT 2
- Is there a way to test for the absence of data? HOT 9
- ARRAY: Api request returned invalid json (Airborne::InvalidJsonError) HOT 6
- Argument error when making POST requests HOT 2
- Looking for Project Maintainers HOT 13
- : (
- Bug: expect_json_sizes with * don't work as expected
- JSON array body instead of hash body in POST/PUT
- Why header keys are downcased? HOT 1
- Is it possible to use on a non-request spec?
- is it possible to use 'Content_Type' => 'application/xml'
- Rails 5.1.5 compatibilty HOT 1
- Is this project dead? HOT 17
- PUT request with no request_body and error messaging issue HOT 1
- Not working with rails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airborne.