jsonapi-rspec icon indicating copy to clipboard operation
jsonapi-rspec copied to clipboard

RSpec matchers for JSON:API spec

Results 5 jsonapi-rspec issues
Sort by recently updated
recently updated
newest added

## What is the current behavior? CI only runs against Ruby 2.4 and 2.7 ## What is the new behavior? CI runs against Ruby 2.4, 2.7, 3.0, 3.1, and head...

## What is the current behavior? In `have_relationship.with_data` you can pass only actual values, it doesn't work with other matches. ## What is the new behavior? Add support for matches...

## What is the current behavior? According to docs this two lines should be equivalent: ```ruby expect(document['data']).to have_id(12) expect(document['data']).to have_id('12') ``` But the first line will fail if the `id`...

## Expected Behavior Should be able to handle Arrays. ## Actual Behavior Does not handle arrays. ## Steps to Reproduce the Problem 1. Create a JSON Serialized object that has...

I need to add tests for `included`. https://jsonapi.org/examples/#sparse-fieldsets