Commit 9b609c1d authored by Shinya Maeda's avatar Shinya Maeda

Fix spec

parent 3d13cd2c
...@@ -94,7 +94,7 @@ FactoryBot.define do ...@@ -94,7 +94,7 @@ FactoryBot.define do
merge_request.head_pipeline = build( merge_request.head_pipeline = build(
:ci_pipeline, :ci_pipeline,
:success, :success,
:test_reports, :with_test_reports,
project: merge_request.source_project, project: merge_request.source_project,
ref: merge_request.source_branch, ref: merge_request.source_branch,
sha: merge_request.diff_head_sha) sha: merge_request.diff_head_sha)
......
...@@ -2838,7 +2838,7 @@ describe Ci::Build do ...@@ -2838,7 +2838,7 @@ describe Ci::Build do
end end
it 'raises an error' do it 'raises an error' do
expect { subject }.to raise_error(Gitlab::Ci::Parsers::JunitParser::JunitParserError) expect { subject }.to raise_error(Gitlab::Ci::Parsers::Junit::JunitParserError)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment