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