Sha256: 50e2238fd1243c9799009eac4add8330b2e903af788b24da83e8b3a41da768d0

Contents?: true

Size: 146 Bytes

Versions: 105

Compression:

Stored size: 146 Bytes

Contents

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

Version data entries

105 entries across 101 versions & 3 rubygems

Version Path
enju_biblio-0.2.3 spec/factories/shelf.rb
enju_library-0.2.3 spec/factories/shelf.rb
enju_biblio-0.2.2 spec/factories/shelf.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/bundler/gems/enju_library-d36f415e177e/spec/factories/shelf.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.2/spec/factories/shelf.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/spec/factories/shelf.rb
enju_leaf-1.2.1 spec/factories/shelf.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_library-0.2.1/spec/factories/shelf.rb
enju_library-0.2.2 spec/factories/shelf.rb
enju_biblio-0.2.1 spec/factories/shelf.rb
enju_library-0.2.1 spec/factories/shelf.rb
enju_library-0.2.0 spec/factories/shelf.rb
enju_leaf-1.2.0 spec/factories/shelf.rb
enju_leaf-1.2.0.beta.4 spec/factories/shelf.rb
enju_library-0.2.0.beta.10 spec/factories/shelf.rb
enju_library-0.2.0.beta.9 spec/factories/shelf.rb
enju_leaf-1.2.0.beta.3 spec/factories/shelf.rb
enju_library-0.2.0.beta.8 spec/factories/shelf.rb
enju_library-0.2.0.beta.7 spec/factories/shelf.rb
enju_library-0.2.0.beta.6 spec/factories/shelf.rb