Sha256: e14fee4cd27962bf0b889136df59ea0ab3f6b1f7b7377b9f9594d442e4cb25cf

Contents?: true

Size: 810 Bytes

Versions: 40

Compression:

Stored size: 810 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :pd_regime_bag, class: "Renalware::PD::RegimeBag" do
    bag_type
    volume 200
    monday true
    tuesday false
    wednesday true
    thursday false
    friday true
    saturday false
    sunday false
    role :ordinary

    trait :weekdays_only do
      monday true
      tuesday true
      wednesday true
      thursday true
      friday true
      saturday false
      sunday false
    end

    trait :weekend_only do
      monday false
      tuesday false
      wednesday false
      thursday false
      friday false
      saturday true
      sunday true
    end

    trait :everyday do
      monday true
      tuesday true
      wednesday true
      thursday true
      friday true
      saturday true
      sunday true
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
renalware-core-2.0.42 spec/factories/pd/regime_bags.rb
renalware-core-2.0.41 spec/factories/pd/regime_bags.rb
renalware-core-2.0.40 spec/factories/pd/regime_bags.rb
renalware-core-2.0.39 spec/factories/pd/regime_bags.rb
renalware-core-2.0.38 spec/factories/pd/regime_bags.rb
renalware-core-2.0.37 spec/factories/pd/regime_bags.rb
renalware-core-2.0.36 spec/factories/pd/regime_bags.rb
renalware-core-2.0.35 spec/factories/pd/regime_bags.rb
renalware-core-2.0.34 spec/factories/pd/regime_bags.rb
renalware-core-2.0.33 spec/factories/pd/regime_bags.rb
renalware-core-2.0.32 spec/factories/pd/regime_bags.rb
renalware-core-2.0.31 spec/factories/pd/regime_bags.rb
renalware-core-2.0.30 spec/factories/pd/regime_bags.rb
renalware-core-2.0.28 spec/factories/pd/regime_bags.rb
renalware-core-2.0.27 spec/factories/pd/regime_bags.rb
renalware-core-2.0.26 spec/factories/pd/regime_bags.rb
renalware-core-2.0.25 spec/factories/pd/regime_bags.rb
renalware-core-2.0.24 spec/factories/pd/regime_bags.rb
renalware-core-2.0.23 spec/factories/pd/regime_bags.rb
renalware-core-2.0.22 spec/factories/pd/regime_bags.rb