With Rspec you can mock objects or functions, for example like this:
expect(my_object).to receive(:my_function).and_return('hello world')
Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!
It's also easy to remove mocks for an object:
RSpec::Mocks.space.proxy_for(my_object).reset