Commit 4681ab1d authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix Rubocop offense in merge request specs

parent 00ca7adc
......@@ -465,7 +465,6 @@ describe API::API, api: true do
expect(response).to have_http_status(200)
end
it "enables merge when pipeline succeeds if the pipeline is active" do
allow_any_instance_of(MergeRequest).to receive(:head_pipeline).and_return(pipeline)
allow(pipeline).to receive(:active?).and_return(true)
......
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