提交 52f7b091 编写于 作者: S Shinya Maeda

Fix conflicts

上级 c63626c3
......@@ -896,20 +896,6 @@ describe Ci::Build do
end
end
describe '#has_deployment?' do
subject { build.has_deployment? }
context 'when build has a deployment' do
let!(:deployment) { create(:deployment, deployable: build) }
it { is_expected.to be_truthy }
end
context 'when build does not have a deployment' do
it { is_expected.to be_falsy }
end
end
describe '#outdated_deployment?' do
subject { build.outdated_deployment? }
......
......@@ -36,6 +36,7 @@ describe BuildSuccessWorker do
expect { subject }.not_to change { Deployment.count }
end
end
context 'when build is not associated with project' do
let!(:build) { create(:ci_build, project: nil) }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册