Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/submit_usage_ping_service_spec.rb')
-rw-r--r--spec/services/submit_usage_ping_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/submit_usage_ping_service_spec.rb b/spec/services/submit_usage_ping_service_spec.rb
index 53cc33afcff..a9f1b2c2b2d 100644
--- a/spec/services/submit_usage_ping_service_spec.rb
+++ b/spec/services/submit_usage_ping_service_spec.rb
@@ -217,7 +217,7 @@ RSpec.describe SubmitUsagePingService do
end
def stub_response(body:, status: 201)
- stub_full_request(SubmitUsagePingService::STAGING_URL, method: :post)
+ stub_full_request(subject.send(:url), method: :post)
.to_return(
headers: { 'Content-Type' => 'application/json' },
body: body.to_json,