Sha256: 187dac68d42832b71420754e3a3ad077c860d182e27d35f6b34a3b090ddd327d

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

FactoryGirl.define do
  factory :green_flag_rule, class: GreenFlag::Rule do
    sequence(:group_key) { |n| "Factory Test Group #{n}" }
    sequence(:order_by)  { |n| 1 + n }
    feature_id     1 
    percentage     100
    version_number 1
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
green_flag-0.4.0 spec/factories/green_flag/rule.rb
green_flag-0.3.0 spec/factories/green_flag/rule.rb