diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-12-01 13:33:24 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-12-05 12:54:10 -0200 |
commit | bac143ea63d74a33a73274746d24e6900b84cc6a (patch) | |
tree | 306e07f81e2a26e5cf0687d66e8ddd628b7e3ca9 /spec/presenters | |
parent | 5cf3ff27c8f955e701837529d72a070697a41a04 (diff) | |
download | gitlab-ce-bac143ea63d74a33a73274746d24e6900b84cc6a.tar.gz |
use actual head pipeline on merge request presenter
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/merge_request_presenter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/presenters/merge_request_presenter_spec.rb b/spec/presenters/merge_request_presenter_spec.rb index 5e114434a67..f325d1776e4 100644 --- a/spec/presenters/merge_request_presenter_spec.rb +++ b/spec/presenters/merge_request_presenter_spec.rb @@ -31,7 +31,7 @@ describe MergeRequestPresenter do let(:pipeline) { build_stubbed(:ci_pipeline) } before do - allow(resource).to receive(:head_pipeline).and_return(pipeline) + allow(resource).to receive(:actual_head_pipeline).and_return(pipeline) end context 'success with warnings' do |