Sha256: 3ff8cec7a14ab0e1ebd171faf1d57d0bf2f46eee436cff96a409af1fba903337
Contents?: true
Size: 333 Bytes
Versions: 298
Compression:
Stored size: 333 Bytes
Contents
FactoryGirl.define do factory :library do |f| f.sequence(:name){|n| "library#{n}"} f.sequence(:short_display_name){|n| "library_#{n}"} f.library_group_id{LibraryGroup.first.id} end end FactoryGirl.define do factory :invalid_library, :class => Library do |f| f.library_group_id{LibraryGroup.first.id} end end
Version data entries
298 entries across 294 versions & 12 rubygems