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.2.3 spec/factories/item.rb
enju_grid-0.2.0 spec/factories/item.rb
enju_biblio-0.2.2 spec/factories/item.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/spec/factories/item.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/factories/item.rb
enju_leaf-1.2.1 spec/factories/item.rb
enju_biblio-0.2.1 spec/factories/item.rb
enju_biblio-0.2.0 spec/factories/item.rb
enju_leaf-1.2.0 spec/factories/item.rb
enju_leaf-1.2.0.beta.4 spec/factories/item.rb
enju_biblio-0.2.0.beta.4 spec/factories/item.rb
enju_inter_library_loan-0.2.0.beta.2 spec/factories/item.rb
enju_grid-0.2.0.beta.3 spec/factories/item.rb
enju_leaf-1.2.0.beta.3 spec/factories/item.rb
enju_biblio-0.2.0.beta.3 spec/factories/item.rb
enju_leaf-1.2.0.beta.2 spec/factories/item.rb
enju_biblio-0.2.0.beta.2 spec/factories/item.rb
enju_biblio-0.2.0.beta.1 spec/factories/item.rb
enju_leaf-1.2.0.beta.1 spec/factories/item.rb
enju_leaf-1.1.4 spec/factories/item.rb