Sha256: 81737d823187300e02c5d4dced9af564673b80a09cd737e76a582a08ea1119f6

Contents?: true

Size: 376 Bytes

Versions: 16

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true
FactoryGirl.define do
  factory :workshop_price do
    price_description "Sample Price"
    price_cents       50000
    price_currency    'EUR'

    trait :with_workshop do
      association :workshop
    end

    trait :with_recurring do
      recurring_amount 10000
      recurring_period 30  # days
      recurring_number 5
    end
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_event-4.2.3.10 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.9 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.8 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.7 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.6 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.5 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.4 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.3 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.2 spec/factories/workshop_price_factory.rb
dm_event-4.2.3.1 spec/factories/workshop_price_factory.rb
dm_event-4.2.3 spec/factories/workshop_price_factory.rb
dm_event-4.2.2.3 spec/factories/workshop_price_factory.rb
dm_event-4.2.2.2 spec/factories/workshop_price_factory.rb
dm_event-4.2.2.1 spec/factories/workshop_price_factory.rb
dm_event-4.2.2 spec/factories/workshop_price_factory.rb
dm_event-4.2.1.5 spec/factories/workshop_price_factory.rb