Sha256: 87c1458b3685e0ce9ec2a10b7161209b0739870365db447e165b2b49f5d6e59e

Contents?: true

Size: 400 Bytes

Versions: 118

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

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

118 entries across 118 versions & 1 rubygems

Version Path
renalware-core-2.0.84 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.83 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.82 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.81 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.80 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.79 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.78 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.77 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.76 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.75 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.74 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.73 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.72 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.71 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.70 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.69 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.68 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.67 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.64 spec/factories/letters/contact_descriptions.rb
renalware-core-2.0.63 spec/factories/letters/contact_descriptions.rb