Sha256: 3489c1aed4a0cd7f6758c61c0fadfba3ed4ab232004d175bc2f31020c4a4e7b6

Contents?: true

Size: 410 Bytes

Versions: 40

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :address, class: "Renalware::Address" do
    street_1 "123 Legoland"
    street_2 "Brewster Road"
    street_3 "Brownswater"
    town "Windsor"
    county "Berkshire"
    country { Renalware::System::Country.find_by(alpha2: "GB") }
    postcode "NW1 6BB"

    trait :in_uk do
      association(:country, factory: :united_kingdom)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
renalware-core-2.0.21 spec/factories/system/addresses.rb
renalware-core-2.0.20 spec/factories/system/addresses.rb
renalware-core-2.0.18 spec/factories/system/addresses.rb
renalware-core-2.0.17 spec/factories/system/addresses.rb
renalware-core-2.0.16 spec/factories/system/addresses.rb
renalware-core-2.0.15 spec/factories/system/addresses.rb
renalware-core-2.0.14 spec/factories/system/addresses.rb
renalware-core-2.0.13 spec/factories/system/addresses.rb
renalware-core-2.0.12 spec/factories/system/addresses.rb
renalware-core-2.0.11 spec/factories/system/addresses.rb
renalware-core-2.0.9 spec/factories/system/addresses.rb
renalware-core-2.0.8 spec/factories/system/addresses.rb
renalware-core-2.0.7 spec/factories/system/addresses.rb
renalware-core-2.0.5 spec/factories/system/addresses.rb
renalware-core-2.0.4 spec/factories/system/addresses.rb
renalware-core-2.0.3 spec/factories/system/addresses.rb
renalware-core-2.0.2 spec/factories/system/addresses.rb
renalware-core-2.0.1 spec/factories/system/addresses.rb
renalware-core-2.0.0 spec/factories/system/addresses.rb
renalware-core-2.0.0.pre.rc13 spec/factories/system/addresses.rb