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.6 spec/factories/classification.rb
enju_biblio-0.4.0.beta.2 spec/factories/classification.rb
enju_subject-0.4.0.beta.1 spec/factories/classification.rb
enju_biblio-0.4.0.beta.1 spec/factories/classification.rb
enju_biblio-0.3.5 spec/factories/classification.rb
enju_biblio-0.3.4 spec/factories/classification.rb
enju_biblio-0.3.3 spec/factories/classification.rb
enju_subject-0.3.1 spec/factories/classification.rb
enju_biblio-0.3.2 spec/factories/classification.rb
enju_biblio-0.3.1 spec/factories/classification.rb
enju_subject-0.3.0 spec/factories/classification.rb
enju_biblio-0.3.0 spec/factories/classification.rb
enju_subject-0.3.0.rc.1 spec/factories/classification.rb
enju_biblio-0.3.0.rc.1 spec/factories/classification.rb
enju_subject-0.3.0.beta.1 spec/factories/classification.rb
enju_biblio-0.3.0.beta.2 spec/factories/classification.rb
enju_biblio-0.2.5 spec/factories/classification.rb
enju_biblio-0.2.4 spec/factories/classification.rb
enju_subject-0.2.3 spec/factories/classification.rb