diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-28 17:14:15 +0200 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-31 10:56:41 +0200 |
commit | 41b65d3514d6841ee29899ffda212f0c2d393a21 (patch) | |
tree | e22c5c6d84e5583f5e02b7879e97d68fd2641ef8 /spec | |
parent | c7f013f07106f7e5cc7c4e47608deab602f67d5d (diff) | |
download | gitlab-ce-41b65d3514d6841ee29899ffda212f0c2d393a21.tar.gz |
Fix rubocop error in runner_spec.rb
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/runner_spec.rb | 2 |
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 |