Remove obsolete code from spec_helper