Printing response in rspec
rspec, ruby-on-rails
Solution
You can print the response using:
raise response.body
Problem
I have a test I can't get to work, so I want to debug my spec by printing the reponse. I've tried using `print response.body` in my spec, but there's no output in either test.log or the console. I'm probably missing something. What should I try? Thanks!