Commit 785a6201 authored by mfluharty's avatar mfluharty

Use new pipeline trait in MR widget entity spec

parent 059cb9eb
......@@ -76,9 +76,7 @@ RSpec.describe MergeRequestWidgetEntity do
end
context "with report artifacts" do
before do
create(:ci_build, :codequality_report, pipeline: pipeline)
end
let(:pipeline) { create(:ci_pipeline, :with_codequality_report, project: project) }
it "has data entry" do
expect(subject).to include(:codeclimate)
......
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