Eliminate duplication in spec_helper.rb