Updating rspec deprecations