Class: DaVinciCRDTestKit::ClientFHIRApiReadTest

Inherits:
Inferno::Test
  • Object
show all
Defined in:
lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb

Instance Method Summary collapse

Instance Method Details

#bad_resource_id_message(expected_id) ⇒ Object



20
21
22
# File 'lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb', line 20

def bad_resource_id_message(expected_id)
  "Expected resource to have id: `#{expected_id}`, but found `#{resource.id}`"
end

#no_resources_skip_messageObject



16
17
18
# File 'lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb', line 16

def no_resources_skip_message
  "No #{resource_type} resource ids were provided, skipping test. "
end

#resource_typeObject



12
13
14
# File 'lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb', line 12

def resource_type
  config.options[:resource_type]
end