summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-05-28 17:14:15 +0200
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-31 10:56:41 +0200
commit41b65d3514d6841ee29899ffda212f0c2d393a21 (patch)
treee22c5c6d84e5583f5e02b7879e97d68fd2641ef8
parentc7f013f07106f7e5cc7c4e47608deab602f67d5d (diff)
downloadgitlab-ce-41b65d3514d6841ee29899ffda212f0c2d393a21.tar.gz
Fix rubocop error in 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