rspec using a stub