Sha256: a66dcc2cb26943d02493435412efe011e48e0ee3b7c7358dd1a14cb47978a09d

Contents?: true

Size: 418 Bytes

Versions: 10

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :feed_file, class: "Renalware::Feeds::File" do
    association :file_type, factory: :feed_file_type
    accountable

    trait :practices do
      association :file_type, factory: %i(feed_file_type practices)
    end

    trait :primary_care_physicians do
      association :file_type, factory: %i(feed_file_type primary_care_physicians)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
renalware-core-2.0.78 spec/factories/feeds/file.rb
renalware-core-2.0.77 spec/factories/feeds/file.rb
renalware-core-2.0.76 spec/factories/feeds/file.rb
renalware-core-2.0.75 spec/factories/feeds/file.rb
renalware-core-2.0.74 spec/factories/feeds/file.rb
renalware-core-2.0.73 spec/factories/feeds/file.rb
renalware-core-2.0.72 spec/factories/feeds/file.rb
renalware-core-2.0.71 spec/factories/feeds/file.rb
renalware-core-2.0.70 spec/factories/feeds/file.rb
renalware-core-2.0.69 spec/factories/feeds/file.rb