DEV Community

Discussion on: Don't forget `as: :json` when testing JSON API

Collapse
 
haukot profile image
Dmitry Daw

Interesting solution! I can also propose to do it in that way dev.to/haukot/test-rails-api-with-... - we don't need to redefine our methods in it.

Collapse
 
schmijos profile image
Josua Schmid

This post is about request specs.