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.42 spec/factories/accesses/profiles.rb
renalware-core-2.0.41 spec/factories/accesses/profiles.rb
renalware-core-2.0.40 spec/factories/accesses/profiles.rb
renalware-core-2.0.39 spec/factories/accesses/profiles.rb
renalware-core-2.0.38 spec/factories/accesses/profiles.rb
renalware-core-2.0.37 spec/factories/accesses/profiles.rb
renalware-core-2.0.36 spec/factories/accesses/profiles.rb
renalware-core-2.0.35 spec/factories/accesses/profiles.rb
renalware-core-2.0.34 spec/factories/accesses/profiles.rb
renalware-core-2.0.33 spec/factories/accesses/profiles.rb
renalware-core-2.0.32 spec/factories/accesses/profiles.rb
renalware-core-2.0.31 spec/factories/accesses/profiles.rb
renalware-core-2.0.30 spec/factories/accesses/profiles.rb
renalware-core-2.0.28 spec/factories/accesses/profiles.rb
renalware-core-2.0.27 spec/factories/accesses/profiles.rb
renalware-core-2.0.26 spec/factories/accesses/profiles.rb
renalware-core-2.0.25 spec/factories/accesses/profiles.rb
renalware-core-2.0.24 spec/factories/accesses/profiles.rb
renalware-core-2.0.23 spec/factories/accesses/profiles.rb
renalware-core-2.0.22 spec/factories/accesses/profiles.rb