Module: GdsApi::TestHelpers::Rummager

Defined in:
lib/gds_api/test_helpers/rummager.rb

Instance Method Summary collapse

Instance Method Details

#rummager_has_no_services_and_info_data_for_organisationObject



11
12
13
14
# File 'lib/gds_api/test_helpers/rummager.rb', line 11

def rummager_has_no_services_and_info_data_for_organisation
  stub_request_for(no_search_results_found)
  run_example_query
end

#rummager_has_services_and_info_data_for_organisationObject



6
7
8
9
# File 'lib/gds_api/test_helpers/rummager.rb', line 6

def rummager_has_services_and_info_data_for_organisation
  stub_request_for(search_results_found)
  run_example_query
end

#rummager_has_specialist_sector_organisations(sub_sector) ⇒ Object



16
17
18
19
# File 'lib/gds_api/test_helpers/rummager.rb', line 16

def rummager_has_specialist_sector_organisations(sub_sector)
  stub_request_for(sub_sector_organisations_results)
  run_example_query
end