Module: GdsApi::TestHelpers::Contactotron
- Defined in:
- lib/gds_api/test_helpers/contactotron.rb
Instance Method Summary collapse
Instance Method Details
#contactotron_has_contact(uri, details) ⇒ Object
7 8 9 10 11 |
# File 'lib/gds_api/test_helpers/contactotron.rb', line 7 def contactotron_has_contact(uri, details) json = JSON.dump(details) stub_request(:get, uri).to_return(:status => 200, :body => json, :headers => {}) return uri end |