When testing a JSON response from an RSPEC controller test using DHH\'s JBuilder, my response.body is always \"{}\". It works fine in development/production modes AND when
For anyone that is having the same issue. I have figured it out.
You must call render_views within the controller tests you are doing. If you do that, you should then see a response.body with your JSON contained :)
render_views
response.body