Skip to content

Commit

Permalink
Merge branch 'master' into sjc-submit-form526-method-length
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjcumming authored Sep 5, 2024
2 parents fd06d7b + 1c18b49 commit 25e52d8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 58 deletions.
1 change: 1 addition & 0 deletions modules/claims_api/lib/bgs_service/local_bgs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module ClaimsApi
class LocalBGS
CACHED_SERVICES = %w[
ClaimantServiceBean/ClaimantWebService
EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService
IntentToFileWebServiceBean/IntentToFileWebService
OrgWebServiceBean/OrgWebService
PersonWebServiceBean/PersonWebService
Expand Down
20 changes: 20 additions & 0 deletions modules/claims_api/spec/lib/claims_api/find_definition_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@
end

context 'EBenefitsBnftClaimStatusWebServiceBean' do
let(:endpoint) { 'EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService' }
let(:action) { 'findBenefitClaimsStatusByPtcpntId' }
let(:key) { 'BenefitClaimsDTO' }

it 'response with the correct attributes' do
result = subject.for_action(endpoint, action)
parsed_result = JSON.parse(result.to_json)
expect(parsed_result['service']['bean']['path']).to eq 'EBenefitsBnftClaimStatusWebServiceBean'
expect(parsed_result['service']['path']).to eq 'EBenefitsBnftClaimStatusWebService'
expect(parsed_result['service']['bean']['namespaces']['target']).to eq 'http://claimstatus.services.ebenefits.vba.va.gov/'
end
end

context 'IntentToFileWebServiceBean' do
Expand Down Expand Up @@ -240,6 +251,15 @@
end

context 'EBenefitsBnftClaimStatusWebServiceBean' do
let(:endpoint) { 'EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService' }

it 'response with the correct namespace' do
result = subject.for_service(endpoint)
parsed_result = JSON.parse(result.to_json)
expect(parsed_result['bean']['path']).to eq 'EBenefitsBnftClaimStatusWebServiceBean'
expect(parsed_result['path']).to eq 'EBenefitsBnftClaimStatusWebService'
expect(parsed_result['bean']['namespaces']['target']).to eq 'http://claimstatus.services.ebenefits.vba.va.gov/'
end
end

context 'IntentToFileWebServiceBean' do
Expand Down
58 changes: 0 additions & 58 deletions modules/travel_pay/spec/requests/travel_pay/pings_spec.rb

This file was deleted.

0 comments on commit 25e52d8

Please sign in to comment.