Commit 24af8131 authored by Dylan Griffith's avatar Dylan Griffith

Fix rubocop error in runner_spec.rb

parent 0ca5c2b8
......@@ -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
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