Sha256: f4c482396599e5c40478cba189372df6f07dd124d83def0e1fafda5e74894da2

Contents?: true

Size: 361 Bytes

Versions: 13

Compression:

Stored size: 361 Bytes

Contents

FactoryBot.define do
  sequence(:system_code) { |n| "sibling-#{n}" }
  sequence(:name) { |n| "Sibling #{n}" }
  sequence(:position) { |n| n }

  factory :letter_contact_description, class: "Renalware::Letters::ContactDescription" do
    system_code
    name
    position

    trait :unspecified do
      name "Other"
      system_code "other"
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc10 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc9 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc8 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc7 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc6 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc5 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc4 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc3 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.rc1 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.beta12 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.beta11 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.0.pre.beta10 spec/factories/letters/contact_descriptions.rb