diff options
Diffstat (limited to 'spec/presenters/ci/pipeline_presenter_spec.rb')
-rw-r--r-- | spec/presenters/ci/pipeline_presenter_spec.rb | 4 |
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 } |