Registry / testing / jsonapi-rspec

jsonapi-rspec

JSON →
library0.0.11rbrubygemsunverified

Helpers for validating JSON API payloads

gem install jsonapi-rspec
INSTALL
IMPORT
SIG · JSONAPI-RSPEC
J
jsonapi-rspec
testingrubyv0.0.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JSONAPI::RSpec
require 'jsonapi/rspec'

Validate JSON API response in RSpec

require 'jsonapi/rspec' RSpec.describe 'My API' do include JSONAPI::RSpec it 'returns valid JSON API' do get '/api/resource' expect(response.body).to be_jsonapi_response end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.11latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jsonapi-rspec — gem install jsonapi-rspec · libregistry