summaryrefslogtreecommitdiff
path: root/spec/models/ci/runner_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/ci/runner_spec.rb')
-rw-r--r--spec/models/ci/runner_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb
index 19ceb9ae4f2..cd60e67cc01 100644
--- a/spec/models/ci/runner_spec.rb
+++ b/spec/models/ci/runner_spec.rb
@@ -777,7 +777,7 @@ describe Ci::Runner do
end
it 'can be destroyed' do
- expect { subject.destroy }.to change { Ci::Runner.count }.by(-1)
+ expect { subject.destroy }.to change { described_class.count }.by(-1)
end
end
end