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/helpers/ci/triggers_helper_spec.rb')
-rw-r--r--spec/helpers/ci/triggers_helper_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/helpers/ci/triggers_helper_spec.rb b/spec/helpers/ci/triggers_helper_spec.rb
index 5e43dbfdd5c..63755257215 100644
--- a/spec/helpers/ci/triggers_helper_spec.rb
+++ b/spec/helpers/ci/triggers_helper_spec.rb
@@ -21,11 +21,11 @@ RSpec.describe Ci::TriggersHelper do
end
end
- describe '.service_trigger_url' do
- subject { helper.service_trigger_url(service) }
+ describe '.integration_trigger_url' do
+ subject { helper.integration_trigger_url(integration) }
- let(:service) { double(project_id: 1, to_param: 'param') }
+ let(:integration) { double(project_id: 1, to_param: 'param') }
- specify { expect(subject).to eq "#{Settings.gitlab.url}/api/v4/projects/1/services/param/trigger" }
+ specify { expect(subject).to eq "#{Settings.gitlab.url}/api/v4/projects/1/integrations/param/trigger" }
end
end