We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d15b72 commit 82a1537Copy full SHA for 82a1537
spec/spec_helper.rb
@@ -69,8 +69,8 @@ def header_sanitizer(response_header, transient_headers)
69
config.cassette_library_dir = File.join(ManageIQ::Providers::IbmCloud::Engine.root, 'spec/vcr_cassettes')
70
71
config.before_record do |i|
72
- replace_token_contents(i) if i.request.uri == "https://iam.cloud.ibm.com/identity/token"
73
- vpc_sanitizer(i) if i.request.uri.match?('iaas.cloud.ibm') || i.request.uri.match?('tags.global-search-tagging')
+ replace_token_contents(i) if i.request.uri.start_with?("https://iam.cloud.ibm.com/identity/token")
+ vpc_sanitizer(i) if i.request.uri.match?('cloud.ibm') || i.request.uri.match?('tags.global-search-tagging')
74
end
75
76
secrets = Rails.application.secrets
0 commit comments