Sha256: 932ffbf35b998858b9bc5a778a5b925d68a8e84bc91170bca4fb11c8ad86f8d1

Contents?: true

Size: 144 Bytes

Versions: 67

Compression:

Stored size: 144 Bytes

Contents

FactoryBot.define do
  factory :shelf do |f|
    f.sequence(:name){|n| "shelf_#{n}"}
    f.library_id{FactoryBot.create(:library).id}
  end
end

Version data entries

67 entries across 67 versions & 3 rubygems

Version Path
enju_biblio-0.3.18 spec/factories/shelf.rb
enju_biblio-0.3.17 spec/factories/shelf.rb
enju_biblio-0.3.16 spec/factories/shelf.rb
enju_biblio-0.3.15 spec/factories/shelf.rb
enju_library-0.3.11 spec/factories/shelf.rb
enju_leaf-1.3.6 spec/factories/shelf.rb
enju_library-0.3.10 spec/factories/shelf.rb
enju_biblio-0.3.14 spec/factories/shelf.rb
enju_biblio-0.3.13 spec/factories/shelf.rb
enju_leaf-1.3.5 spec/factories/shelf.rb
enju_biblio-0.3.12 spec/factories/shelf.rb
enju_biblio-0.3.11 spec/factories/shelf.rb
enju_library-0.3.9 spec/factories/shelf.rb
enju_leaf-1.3.4 spec/factories/shelf.rb
enju_biblio-0.3.10 spec/factories/shelf.rb
enju_library-0.3.8 spec/factories/shelf.rb
enju_biblio-0.3.10.rc.3 spec/factories/shelf.rb
enju_biblio-0.3.10.rc.2 spec/factories/shelf.rb
enju_library-0.3.8.rc.2 spec/factories/shelf.rb
enju_leaf-1.3.4.rc.2 spec/factories/shelf.rb