diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-27 09:10:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-27 09:10:31 +0300 |
commit | 1d9c7ebdadc0c011b997bc8e0032281b939de4e7 (patch) | |
tree | 6df581b45f387d02c46375daa914ad34999bd5ed /spec | |
parent | 75208e7c925434b876e038603f81165f93ce43c5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r-- | spec/scripts/trigger-build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/scripts/trigger-build_spec.rb b/spec/scripts/trigger-build_spec.rb index 1dd1f429b43..d3b520d385f 100644 --- a/spec/scripts/trigger-build_spec.rb +++ b/spec/scripts/trigger-build_spec.rb @@ -25,7 +25,7 @@ RSpec.describe Trigger, feature_category: :tooling do } end - let(:com_api_endpoint) { 'https://gitlab.com/api/v4' } + let(:com_api_endpoint) { Trigger::Base.new.send(:endpoint) } let(:com_api_token) { env['PROJECT_TOKEN_FOR_CI_SCRIPTS_API_USAGE'] } let(:com_gitlab_client) { double('com_gitlab_client') } |