Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/ci/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