From ff219759303dc03f66bb1a160aafa2fca7ac9308 Mon Sep 17 00:00:00 2001 From: Dylan Griffith Date: Fri, 27 Apr 2018 08:05:46 +0800 Subject: Tag runner_spec tests for subgroups with nested_groups --- spec/models/ci/runner_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/models/ci/runner_spec.rb') diff --git a/spec/models/ci/runner_spec.rb b/spec/models/ci/runner_spec.rb index 23e18efea70..1df11fdedf4 100644 --- a/spec/models/ci/runner_spec.rb +++ b/spec/models/ci/runner_spec.rb @@ -166,7 +166,7 @@ describe Ci::Runner do expect(described_class.belonging_to_group(specific_project.id)).to eq [specific_runner] end - it 'returns the group runner from a parent group' do + it 'returns the group runner from a parent group', :nested_groups do parent_group = create :group group = create :group, parent: parent_group project = create :project, group: group @@ -824,7 +824,7 @@ describe Ci::Runner do expect(project_runner.reload.accessible_projects).to eq [project_project] end - it 'returns the projects with a group and nested group runner' do + it 'returns the projects with a group and nested group runner', :nested_groups do expect(group_runner.reload.accessible_projects).to eq [group_project, nested_group_project] end -- cgit v1.2.1