diff options
Diffstat (limited to 'spec/support/helpers/usage_data_helpers.rb')
-rw-r--r-- | spec/support/helpers/usage_data_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/usage_data_helpers.rb b/spec/support/helpers/usage_data_helpers.rb index 9abfc39e31f..beee663fbc6 100644 --- a/spec/support/helpers/usage_data_helpers.rb +++ b/spec/support/helpers/usage_data_helpers.rb @@ -120,14 +120,14 @@ module UsageDataHelpers end def stub_prometheus_queries - stub_request(:get, %r{^https?://::1:9090/-/ready}) + stub_request(:get, %r{^https?://.*:9090/-/ready}) .to_return( status: 200, body: [{}].to_json, headers: { 'Content-Type' => 'application/json' } ) - stub_request(:get, %r{^https?://::1:9090/api/v1/query\?query=.*}) + stub_request(:get, %r{^https?://.*:9090/api/v1/query\?query=.*}) .to_return( status: 200, body: [{}].to_json, |