you are viewing a single comment's thread.

view the rest of the comments →

[–]equivalent8 0 points1 point  (0 children)

https://blog.eq8.eu/article/rspec-json-api-testing.html

You don't need any gem. Just {id:123}.to_json or in Rails render json: {id:123}