Module: Temando::RSpecHelpers
- Defined in:
- lib/temando/rspec.rb
Instance Method Summary collapse
-
#stub_temando_request(request, fixture_content) ⇒ Object
Stubs the SOAP response data for a get_quotes request for a Temando::Response object.
Instance Method Details
#stub_temando_request(request, fixture_content) ⇒ Object
Stubs the SOAP response data for a get_quotes request for a Temando::Response object.
6 7 8 |
# File 'lib/temando/rspec.rb', line 6 def stub_temando_request(request, fixture_content) request.client.should_receive(:dispatch).with(anything()).and_return(fixture_content) end |