diff --git a/modules/claims_api/spec/lib/claims_api/local_bgs_spec.rb b/modules/claims_api/spec/lib/claims_api/local_bgs_spec.rb index 7ecf6718d2f..482c897a6d8 100644 --- a/modules/claims_api/spec/lib/claims_api/local_bgs_spec.rb +++ b/modules/claims_api/spec/lib/claims_api/local_bgs_spec.rb @@ -42,10 +42,8 @@ end it 'triggers StatsD measurements' do - VCR.use_cassette( - 'claims_api/bgs/claimant_web_service/find_poa_by_participant_id', - allow_playback_repeats: true - ) do + VCR.use_cassette('claims_api/bgs/claimant_web_service/find_poa_by_participant_id', + allow_playback_repeats: true) do allow_any_instance_of(BGS::OrgWebService).to receive(:find_poa_history_by_ptcpnt_id).and_return({}) %w[establish_ssl_connection connection_wsdl_get connection_post parsed_response].each do |event| diff --git a/modules/claims_api/spec/support/auth_helper.rb b/modules/claims_api/spec/support/auth_helper.rb index 585bfe8f40a..a3f0fa86f22 100644 --- a/modules/claims_api/spec/support/auth_helper.rb +++ b/modules/claims_api/spec/support/auth_helper.rb @@ -21,10 +21,8 @@ def mock_ccg(_scopes) end def mock_ccg_for_fine_grained_scope(scope_names) - VCR.use_cassette( - 'claims_api/token_validation/v3/shows_token_is_valid_with_fine_grained_scope', - erb: { scopes: scope_names } - ) do + VCR.use_cassette('claims_api/token_validation/v3/shows_token_is_valid_with_fine_grained_scope', + erb: { scopes: scope_names }) do auth_header = { authorization: 'Bearer token' } yield(auth_header) end