Removed deprecations from rspec