Sha256: 06634568df44b1d63b01e85f531d4425f6c89bf84664a4eb0d9e016cd27af093

Contents?: true

Size: 250 Bytes

Versions: 9

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :friendly_order_promotion, class: "SolidusFriendlyPromotions::OrderPromotion" do
    association :order, factory: :order
    association :promotion, factory: :friendly_promotion
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
solidus_friendly_promotions-1.9.3 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.9.2 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.9.1 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.9.0 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.0.0 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.0.0.rc.3 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.0.0.rc.2 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.0.0.rc.1 lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb
solidus_friendly_promotions-1.0.0.pre lib/solidus_friendly_promotions/testing_support/factories/friendly_order_promotion_factory.rb