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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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