Commit 43bbf2a0 authored by Furkan Ayhan's avatar Furkan Ayhan Committed by Fabio Pitino

Fix retry build test

parent b4f2e859
......@@ -4,7 +4,8 @@ require 'spec_helper'
RSpec.describe Ci::RetryBuildService do
let_it_be(:user) { create(:user) }
let(:build) { create(:ci_build, project: project) }
let(:pipeline) { create(:ci_pipeline, project: project) }
let(:build) { create(:ci_build, pipeline: pipeline) }
subject(:service) { described_class.new(project, user) }
......
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