Sha256: 220a0c83cec5cbdfc9635d10f0c531776ee2265f99e92db7c5aaeb3d834d96a4

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

FactoryBot.define do
  factory :item do
    sequence(:item_identifier){|n| "item_#{n}"}
    circulation_status_id{CirculationStatus.find(1).id}
    manifestation_id{FactoryBot.create(:manifestation).id}
    association :bookstore
    association :budget_type
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enju_biblio-0.3.2 spec/factories/item.rb
enju_biblio-0.3.1 spec/factories/item.rb
enju_biblio-0.3.0 spec/factories/item.rb
enju_biblio-0.3.0.rc.1 spec/factories/item.rb
enju_biblio-0.3.0.beta.2 spec/factories/item.rb