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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
1acfc754
Commit
1acfc754
authored
Nov 22, 2017
by
ayufanpl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shared_runner_minutes_on_root_namespace run only on nested groups
parent
ca877e93
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
spec/ee/spec/features/groups/pipeline_quota_spec.rb
spec/ee/spec/features/groups/pipeline_quota_spec.rb
+1
-1
spec/ee/spec/models/ee/namespace_spec.rb
spec/ee/spec/models/ee/namespace_spec.rb
+3
-3
spec/ee/spec/models/ee/project_spec.rb
spec/ee/spec/models/ee/project_spec.rb
+1
-1
spec/ee/spec/services/ee/ci/register_job_service_spec.rb
spec/ee/spec/services/ee/ci/register_job_service_spec.rb
+1
-1
spec/ee/spec/views/admin/groups/_form.html.haml_spec.rb
spec/ee/spec/views/admin/groups/_form.html.haml_spec.rb
+1
-1
spec/services/update_build_minutes_service_spec.rb
spec/services/update_build_minutes_service_spec.rb
+1
-1
No files found.
spec/ee/spec/features/groups/pipeline_quota_spec.rb
View file @
1acfc754
...
...
@@ -120,7 +120,7 @@ feature 'Groups > Pipeline Quota' do
end
end
context
'with shared_runner_minutes_on_root_namespace enabled'
do
context
'with shared_runner_minutes_on_root_namespace enabled'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
end
...
...
spec/ee/spec/models/ee/namespace_spec.rb
View file @
1acfc754
...
...
@@ -341,7 +341,7 @@ describe Namespace do
end
end
context
'when shared_runner_minutes_on_root_namespace is enabled'
do
context
'when shared_runner_minutes_on_root_namespace is enabled'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
end
...
...
@@ -380,7 +380,7 @@ describe Namespace do
it
{
is_expected
.
to
be_truthy
}
context
'when is subgroup'
do
context
'when is subgroup'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
namespace
.
parent
=
build
(
:group
)
...
...
@@ -413,7 +413,7 @@ describe Namespace do
end
end
context
'when shared_runner_minutes_on_root_namespace is enabled'
do
context
'when shared_runner_minutes_on_root_namespace is enabled'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
end
...
...
spec/ee/spec/models/ee/project_spec.rb
View file @
1acfc754
...
...
@@ -549,7 +549,7 @@ describe Project do
end
end
context
'when shared_runner_minutes_on_root_namespace is enabled'
do
context
'when shared_runner_minutes_on_root_namespace is enabled'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
end
...
...
spec/ee/spec/services/ee/ci/register_job_service_spec.rb
View file @
1acfc754
...
...
@@ -90,7 +90,7 @@ module Ci
end
end
context
'when shared_runner_minutes_on_root_namespace is enabled'
do
context
'when shared_runner_minutes_on_root_namespace is enabled'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
end
...
...
spec/ee/spec/views/admin/groups/_form.html.haml_spec.rb
View file @
1acfc754
...
...
@@ -27,7 +27,7 @@ describe 'admin/groups/_form' do
end
end
describe
'when :shared_runner_minutes_on_root_namespace is enabled'
do
describe
'when :shared_runner_minutes_on_root_namespace is enabled'
,
:nested_groups
do
before
do
stub_feature_flags
(
shared_runner_minutes_on_root_namespace:
true
)
end
...
...
spec/services/update_build_minutes_service_spec.rb
View file @
1acfc754
...
...
@@ -61,7 +61,7 @@ describe UpdateBuildMinutesService do
end
end
context
'when shared_runner_minutes_on_root_namespace is enabled'
do
context
'when shared_runner_minutes_on_root_namespace is enabled'
,
:nested_groups
do
let
(
:namespace
)
{
create
(
:namespace
,
parent:
root_ancestor
)
}
before
do
...
...
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