Commit 4e360935 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove legacy test example in CI/CD activity limit class

parent e680fc2b
...@@ -40,11 +40,6 @@ describe EE::Gitlab::Ci::Pipeline::Chain::Limit::Activity do ...@@ -40,11 +40,6 @@ describe EE::Gitlab::Ci::Pipeline::Chain::Limit::Activity do
it 'sets a valid failure reason' do it 'sets a valid failure reason' do
expect(pipeline.activity_limit_exceeded?).to be true expect(pipeline.activity_limit_exceeded?).to be true
end end
it 'appends validation error' do
expect(pipeline.errors.to_a)
.to include 'Active pipelines limit exceeded by 2 pipelines!'
end
end end
context 'when pipeline size limit is not exceeded' do context 'when pipeline size limit is not exceeded' do
......
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