gitlab-org--gitlab-foss/spec/factories/operations/feature_flags.rb

11 lines
248 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :operations_feature_flag, class: 'Operations::FeatureFlag' do
sequence(:name) { |n| "feature_flag_#{n}" }
project
active { true }
version { :new_version_flag }
end
end