remove some rspec deprecation warning