diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-27 08:05:46 +0800 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-04-27 08:05:46 +0800 |
commit | ff219759303dc03f66bb1a160aafa2fca7ac9308 (patch) | |
tree | 930f9fd954cff009b7886b1a88c112e010ed912c /spec/models/ci/runner_spec.rb | |
parent | 0f9f5e82ad5c4898e7c206ff0d574a3e141f3433 (diff) | |
download | gitlab-ce-ff219759303dc03f66bb1a160aafa2fca7ac9308.tar.gz |
Tag runner_spec tests for subgroups with nested_groups
Diffstat (limited to 'spec/models/ci/runner_spec.rb')
-rw-r--r-- | spec/models/ci/runner_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |