Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/groups.rb')
-rw-r--r--spec/factories/groups.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/spec/factories/groups.rb b/spec/factories/groups.rb
index 5b4839df2d3..807df94e115 100644
--- a/spec/factories/groups.rb
+++ b/spec/factories/groups.rb
@@ -65,18 +65,14 @@ FactoryBot.define do
end
end
- trait :allow_descendants_override_disabled_shared_runners do
- allow_descendants_override_disabled_shared_runners { true }
- end
-
- trait :disabled_and_unoverridable do
+ trait :shared_runners_disabled_and_unoverridable do
shared_runners_disabled
allow_descendants_override_disabled_shared_runners { false }
end
- trait :disabled_and_overridable do
+ trait :shared_runners_disabled_and_overridable do
shared_runners_disabled
- allow_descendants_override_disabled_shared_runners
+ allow_descendants_override_disabled_shared_runners { true }
end
trait :shared_runners_enabled do