Reorganize RSpec hooks