cartodb-4.42/spec/factories/feature_flags.rb
2024-04-06 05:25:13 +00:00

17 lines
323 B
Ruby

require 'helpers/unique_names_helper'
include UniqueNamesHelper
FactoryGirl.define do
factory :feature_flag, class: Carto::FeatureFlag do
id { unique_integer }
name { unique_name('ff') }
restricted true
trait(:restricted) { restricted true }
trait(:not_restricted) { restricted false }
end
end