Class: DaVinciCRDTestKit::ClientFHIRApiReadTest
- Inherits:
-
Inferno::Test
- Object
- Inferno::Test
- DaVinciCRDTestKit::ClientFHIRApiReadTest
- Defined in:
- lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb
Instance Method Summary collapse
- #bad_resource_id_message(expected_id) ⇒ Object
- #no_resources_skip_message ⇒ Object
- #resource_type ⇒ Object
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 (expected_id) "Expected resource to have id: `#{expected_id}`, but found `#{resource.id}`" end |
#no_resources_skip_message ⇒ Object
16 17 18 |
# File 'lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb', line 16 def "No #{resource_type} resource ids were provided, skipping test. " end |
#resource_type ⇒ Object
12 13 14 |
# File 'lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb', line 12 def resource_type config.[:resource_type] end |