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

feature_flag_scopes.rb « operations « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a98c397b8b5679af05c9b1ae39c0414fd6478c8d (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

FactoryBot.define do
  factory :operations_feature_flag_scope, class: 'Operations::FeatureFlagScope' do
    association :feature_flag, factory: :operations_feature_flag
    active { true }
    strategies { [{ name: "default", parameters: {} }] }
    sequence(:environment_scope) { |n| "review/patch-#{n}" }
  end
end