Commit 5c6c184f authored by Dylan Griffith's avatar Dylan Griffith

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

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment