title: How to show SQL query log generated by a RSpec test?
body: <p>I am writing a spec for my rails 3 application. I want to test that db transactions are really working. It would be really helpful to be able to see the sql queries being generated my app while being driven by the spec.</p>
  
  <p>Is there a way to see the queries just like in the rails console?</p>
  
  <p>I'm using Rails 3.0.9, RSpec 2.6, and sqlite (will move to mysql later on)</p>