Login
From:
hexdevs
(Uncensored)
subscribe
How to RSpec a Jbuilder response from a Rails JSON API
https://www.hexdevs.com/posts/rails-jbuilder-json-api/
links
backlinks
Roast topics
Find topics
Find it!
Want to write a Rails API controller test and make sure it includes exactly what your Jbuilder serializer returns? Set `render_views`. Learn why in this post.