Updates spec_helper.rb according to latest best practices.