get rid of rspec deprecation warnings