I'd go whole hog and put this into spec_helper (or its own file pulled in by spec_helper) - i.e. no hooks.