removes some rspec deprecations