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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-27 15:11:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-27 15:11:01 +0300
commitc52a9411d8e66b8c6a1a1b3672626a326d73e884 (patch)
tree14fbb7768d935c7751cc8b2b7a66887312908312 /spec/presenters
parent8588e8b9316538f27f45a6e380bd0663bb509d66 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/presenters')
-rw-r--r--spec/presenters/ci/pipeline_presenter_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/presenters/ci/pipeline_presenter_spec.rb b/spec/presenters/ci/pipeline_presenter_spec.rb
index 4539c3d06f6..7f4c8120e17 100644
--- a/spec/presenters/ci/pipeline_presenter_spec.rb
+++ b/spec/presenters/ci/pipeline_presenter_spec.rb
@@ -90,12 +90,12 @@ RSpec.describe Ci::PipelinePresenter do
end
end
- describe '#name' do
+ describe '#event_type_name' do
before do
allow(pipeline).to receive(:merge_request_event_type) { event_type }
end
- subject { presenter.name }
+ subject { presenter.event_type_name }
context 'for a detached merge request pipeline' do
let(:event_type) { :detached }