Sha256: 0c9b57f7a61a93e08e2cea772f08023b1d86905a8296a4a5382f87f2d158a4d6
Contents?: true
Size: 328 Bytes
Versions: 75
Compression:
Stored size: 328 Bytes
Contents
FactoryBot.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 FactoryBot.define do factory :invalid_library, class: Library do |f| f.library_group_id{LibraryGroup.first.id} end end
Version data entries
75 entries across 75 versions & 9 rubygems