jsonapi-rb / jsonapi-rails

Rails gem for fast jsonapi-compliant APIs.
http://jsonapi-rb.org
MIT License
321 stars 63 forks source link

Support Rails' `parsed_body` in Integration tests #143

Closed tagliala closed 1 year ago

tagliala commented 1 year ago

Ref: https://api.rubyonrails.org/classes/ActionDispatch/TestResponse.html

Close #140

remear commented 1 year ago

Thanks for this @tagliala.

I wasn't able to get this fully working in my testing until I added a param_encoder to the register_encoder call.

raldred commented 1 year ago

Any chance of a release @tagliala ?

tagliala commented 1 year ago

Hi, I'm not an owner / maintainer. I'm referencing to master branch in the Gemfile from a while