summaryrefslogtreecommitdiff
path: root/spec/support/helpers/grafana_api_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/grafana_api_helpers.rb')
-rw-r--r--spec/support/helpers/grafana_api_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/grafana_api_helpers.rb b/spec/support/helpers/grafana_api_helpers.rb
index e47b1a808f2..7a7b6fec5b4 100644
--- a/spec/support/helpers/grafana_api_helpers.rb
+++ b/spec/support/helpers/grafana_api_helpers.rb
@@ -31,7 +31,7 @@ module GrafanaApiHelpers
end
def stub_all_grafana_proxy_requests(base_url)
- stub_request(:any, /#{base_url}\/api\/datasources\/proxy/)
+ stub_request(:any, %r{#{base_url}/api/datasources/proxy})
.to_return(
status: 200,
body: fixture_file('grafana/proxy_response.json'),