Rspec deprecations