Sha256: 336f0369debcb65fb4d1b75ff90b3c30ace1ea9819a1475cad0b2d18e27a5b96

Contents?: true

Size: 225 Bytes

Versions: 162

Compression:

Stored size: 225 Bytes

Contents

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

Version data entries

162 entries across 160 versions & 5 rubygems

Version Path
enju_biblio-0.0.2 spec/factories/item.rb
enju_biblio-0.0.1 spec/factories/item.rb