提交 5c6c184f 编写于 作者: D Dylan Griffith

Fix spec/models/ci/runner_spec.rb:775 destroy runner with no projects

上级 c0c5f896
......@@ -773,6 +773,7 @@ describe Ci::Runner do
end
it 'can be destroyed' do
subject
expect { subject.destroy }.to change { described_class.count }.by(-1)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册