title: How do I output a variable in a rspec test?
body: <p>Is there a quick way to output the value of variable in a rspec test? Something like this for example, in a controller to output a variable, I do:</p>
  
  <pre><code>raise variable.to_yaml
  </code></pre>
  
  <p>Is there something similar I can do in a rspec test to see the contents of a variable?</p>