fixes all rspec deprecations