Remove deprecation warnings in rspec 2.99