Sha256: 3124221fb85126494ae2bd03562cd66ae956477c25920a9f6919876de3e88f2b

Contents?: true

Size: 190 Bytes

Versions: 39

Compression:

Stored size: 190 Bytes

Contents

FactoryBot.define do
  factory :classification do |f|
    f.sequence(:category){|n| "classification_#{n}"}
    f.classification_type_id{FactoryBot.create(:classification_type).id}
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
enju_biblio-0.3.18 spec/factories/classification.rb
enju_biblio-0.3.17 spec/factories/classification.rb
enju_biblio-0.3.16 spec/factories/classification.rb
enju_biblio-0.3.15 spec/factories/classification.rb
enju_subject-0.3.4 spec/factories/classification.rb
enju_biblio-0.3.14 spec/factories/classification.rb
enju_biblio-0.3.13 spec/factories/classification.rb
enju_biblio-0.3.12 spec/factories/classification.rb
enju_biblio-0.3.11 spec/factories/classification.rb
enju_subject-0.3.3 spec/factories/classification.rb
enju_biblio-0.3.10 spec/factories/classification.rb
enju_biblio-0.3.10.rc.3 spec/factories/classification.rb
enju_biblio-0.3.10.rc.2 spec/factories/classification.rb
enju_biblio-0.3.10.rc.1 spec/factories/classification.rb
enju_biblio-0.3.9 spec/factories/classification.rb
enju_subject-0.4.0.rc.1 spec/factories/classification.rb
enju_biblio-0.4.0.rc.1 spec/factories/classification.rb
enju_subject-0.3.2 spec/factories/classification.rb
enju_biblio-0.3.8 spec/factories/classification.rb
enju_biblio-0.3.7 spec/factories/classification.rb