modernizes spec_helper snippet