diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-03 11:59:38 +0300 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-03 12:23:47 +0300 |
commit | 49cbe576229b7e4003575e04006cc4132c3c0060 (patch) | |
tree | ffd27dde6e307a709e793d2720e92fd85c0bae77 /spec/models/ci/runner_spec.rb | |
parent | d39b3d4b8d2d4c5ded46182a5353c68a8f5bb5cd (diff) |
Remove Runner#belonging_to_any_project since this is no longer needed
Diffstat (limited to 'spec/models/ci/runner_spec.rb')
-rw-r--r-- | spec/models/ci/runner_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb index 21d7d616a3c..cc4d4e5e4ae 100644 --- a/spec/models/ci/runner_spec.rb +++ b/spec/models/ci/runner_spec.rb @@ -137,21 +137,6 @@ describe Ci::Runner do end end - describe '.belonging_to_any_project' do - it 'returns the specific project runner' do - # project - project_project = create(:project) - project_runner = create(:ci_runner, :specific, projects: [project_project]) - - # group - group = create(:group) - create(:project, group: group) - create(:ci_runner, :specific, groups: [group]) - - expect(described_class.belonging_to_any_project).to eq [project_runner] - end - end - describe '.belonging_to_parent_group_of_project' do let(:project) { create(:project, group: group) } let(:group) { create(:group) } |