Sha256: 75eba9677261aad96a6c935b63c9304cc9e42dbaade20322bda44e8038e217ea

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

FactoryGirl.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

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 spec/factories/accesses/profiles.rb
renalware-core-2.0.0.pre.beta8 spec/factories/accesses/profiles.rb