BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ff219759
Commit
ff219759
authored
Apr 27, 2018
by
Dylan Griffith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tag runner_spec tests for subgroups with nested_groups
parent
0f9f5e82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
runner_spec.rb
spec/models/ci/runner_spec.rb
+2
-2
No files found.
spec/models/ci/runner_spec.rb
View file @
ff219759
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment