title: RSpec - programatically determing type of spec
body: <p>I was wondering whether it is possible to find out at runtime (i.e. in spec_helper.rb) what kind of spec is being executed (i.e. request, functional etc)?</p>
  
  <p>Many Thanks!</p>