Handle deprecation warnings in rspec 2.99