Sha256: ecd4fb6519db61e5635bddca766106b4186e72ad2cb8c021a343276164679b26

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

require 'spree/testing_support/factories/option_value_factory'
require 'spree/testing_support/factories/variant_property_rule_factory'

FactoryBot.define do
  factory :variant_property_rule_condition, class: 'Spree::VariantPropertyRuleCondition' do
    variant_property_rule
    option_value
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_core-2.5.2 lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb
solidus_core-2.5.1 lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb
solidus_core-2.5.0 lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb
solidus_core-2.5.0.rc1 lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb
solidus_core-2.5.0.beta2 lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb
solidus_core-2.5.0.beta1 lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb