Remove deprecated  from spec_helper

Removed a line from the `spec/spec_helper.rb` causing a deprecation warning.