From a9543e0ee8df64d7870c2a25f10b1a9c59d86517 Mon Sep 17 00:00:00 2001 From: degradification Date: Thu, 19 Dec 2024 09:54:21 -0500 Subject: [PATCH] Updated descriptions/fixed typos & adjusted the unit test path -TODO: Ensure the endpoint can be while unit testing --- .../light_ehr/dtr_light_ehr_supported_endpoints_group.rb | 4 ++-- lib/davinci_dtr_test_kit/dtr_light_ehr_suite.rb | 4 ++-- ...c.rb => dtr_light_ehr_supported_endpoints_group_spec.rb} | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) rename spec/davinci_dtr_test_kit/{endpoints/mock_payer/light_ehr_supported_payer_endpoint_spec.rb => dtr_light_ehr_supported_endpoints_group_spec.rb} (90%) diff --git a/lib/davinci_dtr_test_kit/client_groups/light_ehr/dtr_light_ehr_supported_endpoints_group.rb b/lib/davinci_dtr_test_kit/client_groups/light_ehr/dtr_light_ehr_supported_endpoints_group.rb index ef81b24..6674d66 100644 --- a/lib/davinci_dtr_test_kit/client_groups/light_ehr/dtr_light_ehr_supported_endpoints_group.rb +++ b/lib/davinci_dtr_test_kit/client_groups/light_ehr/dtr_light_ehr_supported_endpoints_group.rb @@ -1,9 +1,9 @@ require_relative 'dtr_light_ehr_supported_payer_endpoint_test' module DaVinciDTRTestKit - class DtrLightEhrSupportedEndpointsGroup < Inferno::TestGroup + class DTRLightEhrSupportedEndpointsGroup < Inferno::TestGroup id :dtr_light_ehr_supported_endpoints - title 'Supported Endpoints' + title 'DTR Supported Endpoints' description %( Demonstrate the ability to access supported endpoints ) diff --git a/lib/davinci_dtr_test_kit/dtr_light_ehr_suite.rb b/lib/davinci_dtr_test_kit/dtr_light_ehr_suite.rb index 7fdbd02..9361c05 100644 --- a/lib/davinci_dtr_test_kit/dtr_light_ehr_suite.rb +++ b/lib/davinci_dtr_test_kit/dtr_light_ehr_suite.rb @@ -142,10 +142,10 @@ class DTRLightEHRSuite < Inferno::TestSuite end group do - title 'Supported Endpoints' + title 'DTR Light EHR Supported Endpoints' description %(This test group tests system for their conformance to the supported endpoint capabilities as defined by the DaVinci Documentation - Templates and Rules (DTR) v2.0,1 Implementation Guide Light DTR EHR + Templates and Rules (DTR) v2.0.1 Implementation Guide Light DTR EHR Capability Statement. ) diff --git a/spec/davinci_dtr_test_kit/endpoints/mock_payer/light_ehr_supported_payer_endpoint_spec.rb b/spec/davinci_dtr_test_kit/dtr_light_ehr_supported_endpoints_group_spec.rb similarity index 90% rename from spec/davinci_dtr_test_kit/endpoints/mock_payer/light_ehr_supported_payer_endpoint_spec.rb rename to spec/davinci_dtr_test_kit/dtr_light_ehr_supported_endpoints_group_spec.rb index 2ed03d0..11b64b4 100644 --- a/spec/davinci_dtr_test_kit/endpoints/mock_payer/light_ehr_supported_payer_endpoint_spec.rb +++ b/spec/davinci_dtr_test_kit/dtr_light_ehr_supported_endpoints_group_spec.rb @@ -1,8 +1,8 @@ -require_relative '../../../request_helper' -require_relative '../../../../lib/davinci_dtr_test_kit/endpoints/mock_payer/light_ehr_supported_payer_endpoint' +require_relative '../request_helper' -RSpec.describe DaVinciDTRTestKit::Endpoints::MockPayer::LightEHRSupportedPayerEndpoint do +RSpec.describe DaVinciDTRTestKit::DTRLightEhrSupportedEndpointsGroup do include Rack::Test::Methods + include RequestHelpers def app Inferno::Web.app