Sha256: 98a4e04f6e4c6c8c20b352ab1409584434bdc58abc4fff643b8c0de30fbb51b5

Contents?: true

Size: 302 Bytes

Versions: 40

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :access_profile, class: Renalware::Accesses::Profile do
    accountable
    patient
    type { create(:access_type) }
    side :right
    formed_on { Time.zone.today }

    trait :current do
      started_on { 1.day.ago }
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

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