fix rspec deprecate stub