diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/runner_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb index f8d590e4776..0f072aa1719 100644 --- a/spec/models/ci/runner_spec.rb +++ b/spec/models/ci/runner_spec.rb @@ -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 |