Skip to content
代码片段 群组 项目
提交 d99e0b64 编辑于 作者: Fabio Pitino's avatar Fabio Pitino
浏览文件

Merge branch 'remove-unused-ci-yaml-stub' into 'master'

Remove unused CI YAML stub from limit specs

See merge request gitlab-org/gitlab!46940
No related branches found
No related tags found
无相关合并请求
......@@ -20,21 +20,12 @@
shared_context 'pipeline size limit exceeded' do
before do
config = YAML.dump({
rspec: { script: 'rspec' },
spinach: { script: 'spinach' }
})
stub_ci_pipeline_yaml_file(config)
plan_limits.update!(ci_pipeline_size: 1)
end
end
shared_context 'pipeline size limit not exceeded' do
before do
config = YAML.dump({
rspec: { script: 'rspec' }
})
stub_ci_pipeline_yaml_file(config)
plan_limits.update!(ci_pipeline_size: 2)
end
end
......
......@@ -25,10 +25,6 @@
gold_plan = create(:gold_plan)
create(:plan_limits, plan: gold_plan, ci_pipeline_size: 1)
create(:gitlab_subscription, namespace: namespace, hosted_plan: gold_plan)
stub_ci_pipeline_yaml_file(YAML.dump({
rspec: { script: 'rspec' },
spinach: { script: 'spinach' }
}))
end
context 'when saving incomplete pipelines' do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册