remove rspec deprecation warnings